From 394b894fe2a7131b1816d9799fc6a49fba33a108 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 25 十二月 2023 14:39:55 +0800 Subject: [PATCH] 3191 删除推送 --- ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py | 38 +++++++++++++++++++++++++++++++------- 1 files changed, 31 insertions(+), 7 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py b/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py index 7c7059c..86b41af 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py @@ -286,6 +286,7 @@ OperationActionName_XianXiaMJ = "ActXianXiaMJ" # 仙匣秘境活动 OperationActionName_GodGift = "ActGodGift" # 天帝礼包活动 OperationActionName_BuyOne = "ActBuyOne" # 买一送多活动 +OperationActionName_BossTrial = "ActBossTrial" # Boss历练 #节日活动类型列表 - 该类型无视开服天,日期到了就开启 FeastOperationActionNameList = [OperationActionName_FeastWeekParty, OperationActionName_FeastRedPacket, OperationActionName_RechargeRebateGold, OperationActionName_GrowupBuy, @@ -305,7 +306,7 @@ OperationActionName_CollectWords, OperationActionName_ManyDayRecharge, OperationActionName_Turntable, OperationActionName_HorsePetFeast, OperationActionName_GarbageSorting, OperationActionName_XianXiaMJ, OperationActionName_GodGift, - OperationActionName_BuyOne, + OperationActionName_BuyOne, OperationActionName_BossTrial, ] + FeastOperationActionNameList #需要记录开启活动时的世界等级的运营活动 NeedWorldLVOperationActNameList = [OperationActionName_FairyCeremony, OperationActionName_WishingWell, @@ -329,7 +330,7 @@ OperationActionName_ManyDayRecharge, OperationActionName_SingleRecharge, OperationActionName_Turntable, OperationActionName_HorsePetFeast, OperationActionName_GarbageSorting, OperationActionName_XianXiaMJ, OperationActionName_GodGift, - OperationActionName_BuyOne, + OperationActionName_BuyOne, OperationActionName_BossTrial, ] #跨服运营活动表名定义 @@ -396,7 +397,8 @@ Def_ViewExpType_SysEx, #系统给经验-不需要展示倍率 用来区别于类型0 7 Def_ViewExpType_LYZS, #烈焰战神 特殊特效 8 Def_ViewExpType_Activity, #活跃吸纳 9 -) = range(0, 10) + Def_ViewExpType_Chuangong, #传功经验10 +) = range(0, 11) #物品相关操作类型 @@ -692,6 +694,12 @@ Def_Effect_FamilyWarAtkPer = 164 # 仙盟联赛攻击加成 Def_Effect_FamilySitExpPer = 165 # 仙盟打坐经验加成 +Def_Effect_ComboDefRate = 210 # 抗连击概率 +Def_Effect_AtkBackRate = 211 # 反击概率 +Def_Effect_AtkBackDefRate = 212 # 抗反击概率 +Def_Effect_SuckHPPer = 213 # 吸血比率 +Def_Effect_SuckHPDefPer = 214 # 抗吸血比率 + #增加%d物理伤害值,其中a值为伤害值 Def_Effect_AddAtk = 1005 #增加%d魔法伤害值,其中a值为伤害值 @@ -793,9 +801,10 @@ Def_BT_CharmTotal, #魅力总榜 30 Def_BT_CharmWeek, #魅力周榜 Def_BT_CharmDay, #魅力日榜 + Def_BT_BossTrialSubmit, #提交boss凭证榜 (boss历练活动) Def_BT_Max, #排行榜最大类型 -) = range(0, 32 + 2) +) = range(0, 33 + 2) ''' 跨服排行榜类型, 从 150 开始 与本服榜单存储的是不一样的数据库表格,理论上类型可以和本服榜单类型重复,为了做下区分防误导,跨服榜单从 150 开始 @@ -1057,7 +1066,13 @@ CDBPlayerRefresh_JiYuan, # 机缘币 245 CDBPlayerRefresh_BTGMYuE, # BTGM余额 246 CDBPlayerRefresh_SuccessScore, # 成就积分 247 -) = range(146, 248) +CDBPlayerRefresh_ComboDefRate, # 抗连击概率 248 +CDBPlayerRefresh_AtkBackRate, # 反击概率 249 +CDBPlayerRefresh_AtkBackDefRate, # 抗反击概率 250 +CDBPlayerRefresh_SuckHPPer, # 吸血比率 251 +CDBPlayerRefresh_SuckHPDefPer, # 抗吸血比率 252 +CDBPlayerRefresh_Xiantao, # 仙桃 253 +) = range(146, 254) TYPE_Price_Gold_Paper_Money = 5 # 金钱类型,(先用礼券,再用金子) TYPE_Price_Family_Contribution = 6 # 战盟贡献度(活跃度转换得来) @@ -1085,13 +1100,14 @@ TYPE_Price_JiYuan = 37 # 机缘币 TYPE_Price_BTGMYuE = 38 # GM余额 TYPE_Price_SuccessSocre = 39 # 成就积分 +TYPE_Price_Xiantao = 40 # 仙桃 #key可用于遍历所有货币,value仅GM相关会用到 MoneyNameDict = { 1:"仙玉", 2:"绑玉", 3:"铜钱", 6:"战盟贡献度", 10:"战盟仓库积分", 13:"境界修行点", 14:"符印融合石", 15:"仙盟活跃令", 16:"助战积分", 18:"荣誉", 19:"Boss积分", 23:"符印精华", 24:"符印碎片", 25:"寻宝积分", 26:"集市额度", 27:"丹精", 28:"魂尘", 29:"聚魂碎片", 30:"核心环", 31:"功能特权令", 32:"环保值", 33:"GM令", 34:"古神币", 35:"功德点", - 39:"成就积分" + 39:"成就积分", 40:"仙桃" } #以下是旧的金钱类型 @@ -1122,6 +1138,7 @@ TYPE_Price_GuShenMoney:CDBPlayerRefresh_GuShenMoney, TYPE_Price_GongdePoint:CDBPlayerRefresh_GongdePoint, TYPE_Price_SuccessSocre:CDBPlayerRefresh_SuccessScore, + TYPE_Price_Xiantao:CDBPlayerRefresh_Xiantao, } # 支持负值的货币及对应0418刷新类型 @@ -1553,6 +1570,8 @@ Def_IudetMapLoaction = 15 # 物品记录地图坐标[mapid, posx, posy] Def_IudetLegendAttrID = 17 # 物品传奇属性ID列表 Def_IudetLegendAttrValue = 19 # 物品传奇属性值列表 +Def_IudetBaseAttrID = 21 # 物品基础属性ID列表,适用于随机范围基础属性(非物品表配置的固定属性) +Def_IudetBaseAttrValue = 23 # 物品基础属性值列表 Def_IudetPartSuiteLV = 25 # 部位套装等级 [套装类型1等级, 套装类型2等级, ...] Def_IudetWingMaterialItemID = 27 # 翅膀精炼材料ID列表 Def_IudetWingMaterialItemCount = 29 # 翅膀精炼材料个数列表 @@ -1570,6 +1589,7 @@ Def_IudetItemColor = 16 # 物品颜色,如果该值没有就取物品 Def_IudetItemCount = 18 # 物品个数,支持20亿,目前仅特殊转化物品会用到 Def_IudetCancelUseLimit = 20 # 物品取消使用限制 +Def_IudetItemLV = 22 # 物品等级,适用于动态物品等级(非物品表配置的固定等级) Def_IudetSource = 24 # 物品来源 Def_IudetSuiteLV = 30 # 套装等级 Def_IudetHasOpenCnt = 32 # 物品累积开启次数 @@ -1593,6 +1613,9 @@ Def_IudetPet_Skill = 201 # 技能列表 Def_IudetHorsePetSkinIndex = 210 # 骑宠觉醒外观索引 + +# 以下为自定义的设置物品属性key +Def_CItemKey_AppointID = "AppointID" # ---------------------------------------------------- # 宠物物品数据状态 @@ -1767,7 +1790,8 @@ DailyActionID_Arena, # 竞技场 33 DailyActionID_CrossDemonLand, # 跨服魔化之地Boss 34 DailyActionID_CrossBattlefield, # 跨服战场 35 -) = range(1, 35 + 1) +DailyActionID_FamilySit, # 跨服战场 36 +) = range(1, 36 + 1) # 跨服每日活动编号定义, 从150开始 CrossDailyActionIDList = ( -- Gitblit v1.8.0