【战斗】=============御甲修改

dev_chengFeng
wangzhenxing 2023-01-12 11:02:04 +08:00
parent d557b603b3
commit fde119c5cb
1 changed files with 6 additions and 6 deletions

View File

@ -708,8 +708,8 @@ function BattleUtil.ApplyDamageNoPassive(skill, atkRole, defRole, damage, bCrit,
end
--计算血量防护
local realDamage=damage
--血量防护只会防直接伤害
if defRole.bloodShield and skill then
--血量防护只会防直接伤害 也能防护间接伤害 2023/01/11
if defRole.bloodShield then
realDamage=math.abs(defRole.bloodShield:CountBloodValue(damage,atkRole))
-- damage=realDamage
end
@ -870,8 +870,8 @@ function BattleUtil.FinalDamage(skill, atkRole, defRole, damage, bCrit, damageTy
end
--计算血量防护
local realDamage=damage
--血量防护只会防直接伤害
if defRole.bloodShield and skill then
--血量防护只会防直接伤害 也能防护间接伤害 2023/01/11
if defRole.bloodShield then
realDamage=math.abs(defRole.bloodShield:CountBloodValue(damage,atkRole))
-- damage=realDamage
end
@ -953,8 +953,8 @@ function BattleUtil.FinalDamageCountShield(skill, atkRole, defRole, damage, bCri
end
--计算血量防护
local realDamage=damage
--血量防护只会防直接伤害
if defRole.bloodShield and skill then
--血量防护只会防直接伤害 也能防护间接伤害 2023/01/11
if defRole.bloodShield then
realDamage=math.abs(defRole.bloodShield:CountBloodValue(damage,atkRole))
-- damage=realDamage
end