From a5658b679ac1ac932834f35a6e59642b274913c6 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期五, 19 四月 2019 17:55:30 +0800 Subject: [PATCH] 6516 【后端】【2.0】战斗公式增加系数 获取dFinalHurtReducePer值 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py index cae1d53..622a258 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py @@ -2098,6 +2098,8 @@ aOnlyFinalHurt = PlayerControl.GetOnlyFinalHurt(atkObj) # 额外固定伤害 aFightPower = atkObj.GetFightPower() + + else: aIgnoreDefRate = 0 # 无视防御比率 aFinalHurtPer = GameObj.GetPetDamPer(atkObj) # 最外层伤害加成, 可能为负值 @@ -2123,6 +2125,7 @@ dFinalHurtReduce = PlayerControl.GetFinalHurtReduce(defObj) # 最终固定伤害减少 dBeHurtPer = PlayerControl.GetBeHurtPer(defObj) # 加深受到伤害百分比 dFightPower = defObj.GetFightPower() + dFinalHurtReducePer = PlayerControl.GetFinalHurtReducePer(defObj) dFinalHurtReducePer = PassiveBuffEffMng.GetPassiveSkillValueByTriggerType(defObj, atkObj, curSkill, ChConfig.TriggerType_dFinalHurtReducePer) else: -- Gitblit v1.8.0