From 9180097340810fe26051e115f7c0545588ae2371 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 11 九月 2018 11:14:40 +0800 Subject: [PATCH] 3372 【后端】【版本1.0.15】增加pve附加伤害属性丹药(伤血公式参数名: aNPCHurtAddPer , 战斗力公式参数名: NPCHurtAddPer) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py | 33 ++++++++++++++++++++++++++------- 1 files changed, 26 insertions(+), 7 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py index 007b2e3..eb4bc97 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py @@ -152,6 +152,7 @@ Def_Notify_WorldKey_LastDropTime = "LastDropTime_%s" # 全局物品上次掉落时间, 参数(itemID) Def_Notify_WorldKey_DropNPCKilledCnt = "DropNPCKilledCnt_%s" # 全局物品绑定的NPC击杀次数, 参数(itemID) +Def_Notify_WorldKey_NPCKilledCount = "NPCKilledCount_%s" # 全局NPC被击杀次数, 参数(npcID) Def_Notify_WorldKey_WorldAverageLv = "WorldAverageLv" #世界等级 Def_Notify_WorldKey_YdayLoginCnt= 'YdayLoginCnt' # 昨天总在线人数 @@ -161,6 +162,8 @@ Def_Notify_WorldKey_ChampionFamilyID = "ChampionFamilyID" # 仙盟联赛上次冠军仙盟ID Def_Notify_WorldKey_FamilyBossOpenCount = "FamilyBossOpenCount" # 仙盟boss开启次数 + +Def_Notify_WorldKey_FamilyPartyInfo = "FamilyPartyInfo" # 仙盟宴会数据 Def_Notify_WorldKey_MergeBoss = "Merge_Boss" # 跨服boss @@ -185,6 +188,7 @@ Def_Notify_WorldKey_GameWorldBossOnlineCnt = "GameWorldBossOnlineCnt_%s" #世界boss重生时间计算 在线人数统计 %s为bossid Def_Notify_WorldKey_BossShuntPlayer = 'BossShuntPlayer' # boss分流玩家信息 Def_Notify_WorldKey_BossShuntDeadLine = 'BossShuntDeadLine' # boss分流线路已死亡的线路 +Def_Notify_WorldKey_BossOnlineHeroCnt = 'BossOnlineHeroCnt_%s' # boss刷新时间用的在线人数, 参数为NPCID Def_Notify_WorldKey_FamilyActivityDayState = "FamilyActivityDayState" #战盟相关活动今日开启状态, 按位存储代表今日是否开启过 @@ -473,6 +477,8 @@ Def_Effect_WingHPPer = 86 # 翅膀生命百分比 Def_Effect_SuiteBasePer = 87 # 套装基础属性百分比 Def_Effect_PlusBaseAtkPer = 88 # 强化基础攻击百分比 + +Def_Effect_NPCHurtAddPer = 89 # 对怪物伤害加成 #增加%d物理伤害值,其中a值为伤害值 Def_Effect_AddAtk = 1005 @@ -767,7 +773,8 @@ CDBPlayerRefresh_FuncDef, # 功能层防御 185 CDBPlayerRefresh_TreasureScore, # 寻宝积分 CDBPlayerRefresh_Danjing, # 丹精 -) = range(146, 188) +CDBPlayerRefresh_NPCHurtAddPer, # 对怪物伤害加成 +) = range(146, 189) TYPE_Price_Gold_Paper_Money = 5 # 金钱类型,(先用礼券,再用金子) TYPE_Price_Family_Contribution = 6 # 战盟贡献度(活跃度转换得来) @@ -846,7 +853,7 @@ GameFuncID_EquipDecompose = 123 # 装备分解 GameFuncID_DailyQuest = 78 # 日常 GameFuncID_FreeGoods = 130 # 极品白拿 - +GameFuncID_OSSail = 132 # 开服特惠 # 以下为暂时无用的 GameFuncID_GreatMaster = 28 # 大师 GameFuncID_Truck = 33 # 运镖 @@ -1465,9 +1472,10 @@ DailyActionID_XXX12, # 废弃12 DailyActionID_Tower, # 符印塔 DailyActionID_MagicWeapon, # 法宝集魂 -DailyActionID_FBHelp, # 助战副本 +DailyActionID_FBHelp, # 助战副本 15 DailyActionID_BOSSHome, # BOSS之家 -) = range(1, 16 + 1) +DailyActionID_FamilyRobBoss, # 仙盟抢boss +) = range(1, 17 + 1) @@ -1600,7 +1608,9 @@ SuccType_CompoundEquip, # 合成X阶X颜色X星级以上装备124 SuccType_IceLode, #通关冰晶矿脉成就125 SuccType_RefineStoveColor, #炼制X品质丹药X枚126 -) = range(1, 127) +SuccType_UseStoveBylv, #使用X品丹药X枚127 +SuccType_QueenRelicsEx, #通关娲皇遗迹128 +) = range(1, 129) @@ -1612,7 +1622,7 @@ UnDownCheckSuccessTypeList = [ SuccType_EquipPlusLV, SuccType_GodWeapon, SuccType_MainTaskNode,SuccType_PassWagicWeapon, - SuccType_KillSpecificNPC, + SuccType_KillSpecificNPC, SuccType_UseStoveBylv, SuccType_Pray,SuccType_PetClassLV, SuccType_HorseAllLV, SuccType_QueenRelics,SuccType_XMZZConWin, SuccType_EquipSuit, @@ -1706,4 +1716,13 @@ FamilyActive_War, #仙盟联赛 FamilyActive_HelpDujie, #同盟护法 FamilyActive_SWRH, #守卫人皇 -) = range(1,6+1) \ No newline at end of file +) = range(1,6+1) + + +# BOSS 功能标识区分 对应KillBossCntLimit,主要根据击杀类型不同区分 +( +Def_Boss_Func_World, # 世界BOSS +Def_Boss_Func_Home, # BOSS之家 +Def_Boss_Func_Dogz, # 神兽功能BOSS +) = range(3) + -- Gitblit v1.8.0