From 38a5de3bda3fef86c848e263bc80f7ec9308de00 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期五, 19 四月 2019 20:24:42 +0800 Subject: [PATCH] 6516 【后端】【2.0】战斗公式增加系数 获取dFinalHurtReducePer值 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py | 4 ++-- 1 files changed, 2 insertions(+), 2 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 622a258..7411d0c 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 @@ -2126,7 +2126,7 @@ dBeHurtPer = PlayerControl.GetBeHurtPer(defObj) # 加深受到伤害百分比 dFightPower = defObj.GetFightPower() dFinalHurtReducePer = PlayerControl.GetFinalHurtReducePer(defObj) - dFinalHurtReducePer = PassiveBuffEffMng.GetPassiveSkillValueByTriggerType(defObj, atkObj, curSkill, ChConfig.TriggerType_dFinalHurtReducePer) + dFinalHurtReducePer += PassiveBuffEffMng.GetPassiveSkillValueByTriggerType(defObj, atkObj, curSkill, ChConfig.TriggerType_dFinalHurtReducePer) else: dIgnoreDefRateReduce = 0 # 无视防御比率抗性 @@ -2140,7 +2140,7 @@ #攻击字典 { 攻击类型 : '公式' } hurtDist = ReadChConfig.GetEvalChConfig('CalcAttackValue') - + if suppressLV: suppressFormulaKeyLV = "SuppressValueLV_%s" % (atkIsBoss) if suppressFormulaKeyLV in hurtDist: -- Gitblit v1.8.0