[战斗]=======被动387修改
parent
4252fde78f
commit
24a92b6b98
|
@ -9698,19 +9698,20 @@ local passivityList = {
|
|||
if skill and not skill.isTriggerJudge and judge==1 then
|
||||
return
|
||||
end
|
||||
local aa=dt
|
||||
if skill and skill.type == BattleSkillType.Normal and skill.isAdd and skill.owner==role then
|
||||
--如果是boss 并且额外伤害是根据最大生命则返回
|
||||
if (f1==12 or f1==13) and BattleUtil.CheckIsBoss(defRole) then
|
||||
return
|
||||
end
|
||||
if (f1==12 or f1==13) and p1 then
|
||||
if (f1==12 or f1==13) and p1 then
|
||||
if haveRage>defRole.Rage then
|
||||
dt=dt+p1
|
||||
aa=aa+p1
|
||||
else
|
||||
defRole:AddBuff(Buff.Create(role, BuffName.BanBlood, p2))
|
||||
end
|
||||
end
|
||||
local val = -floor(BattleUtil.FP_Mul(dt, defRole:GetRoleData(BattlePropList[f1])))
|
||||
local val = -floor(BattleUtil.FP_Mul(aa, defRole:GetRoleData(BattlePropList[f1])))
|
||||
if f1==12 or f1==13 then
|
||||
BattleUtil.FinalDamageCountShield(nil,role,defRole,-val)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue