From e139a43f654cac9c47bfec2172ba345e16d6d8b8 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Fri, 14 Aug 2020 16:50:32 +0900 Subject: [PATCH] =?UTF-8?q?=E5=B1=8F=E8=94=BD=E9=87=91=E7=BF=85=E5=A4=A7?= =?UTF-8?q?=E9=B9=8F=E4=B8=8D=E6=AD=BB=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Battle/Logic/Base/Effect.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Effect.lua b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Effect.lua index 79200e28d7..cc27a84fd8 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Effect.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Effect.lua @@ -1,4 +1,4 @@ -local floor = math.floor +local floor = math.floor local min = math.min local max = math.max --local RoleDataName = RoleDataName @@ -2117,7 +2117,7 @@ local effectList = { caster.Event:DispatchEvent(BattleEventName.RoleViewBullet, skill, target) BattleLogic.WaitForTrigger(interval, function () local OnBeHit = function(atkRole, damage, bCrit, finalDmg, damageType) - if target:IsDead() then + if target:IsDead() and BattleUtil.CheckIsNoDead(target) then caster:AddBuff(Buff.Create(caster, BuffName.PropertyChange, 0, BattlePropList[pro1], f2, ct)) end end