From 11a39abcd41f0ba6b0f0e3e9bffbbce7548cbdd6 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Thu, 12 Aug 2021 15:42:31 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=88=98=E6=96=97]=3D=3D=3D=3D=3D=3D=3D=3D=3D?= =?UTF-8?q?=3D=E4=BC=A4=E5=AE=B3=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Battle/Logic/Misc/BattleUtil.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Misc/BattleUtil.lua b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Misc/BattleUtil.lua index 9da13789fb..f14f59eee8 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Misc/BattleUtil.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Misc/BattleUtil.lua @@ -681,7 +681,7 @@ function BattleUtil.FinalDamage(skill, atkRole, defRole, damage, bCrit, damageTy skill.owner.superSkillDamage=damage end --计算血量防护 - local realDamage=0 + local realDamage=damage --血量防护只会防直接伤害 if defRole.bloodShield and skill then realDamage=math.abs(defRole.bloodShield:CountBloodValue(damage))