From 4d210b9297c7be6bcad04a5051c2b19500435951 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Mon, 11 Jan 2021 16:20:17 +0900 Subject: [PATCH] =?UTF-8?q?[=E6=88=98=E6=96=97]=3D=3D=3D=3D=3D=3D=3D=3D=3D?= =?UTF-8?q?=3D=3D118=20124=E6=95=88=E6=9E=9C=E4=BF=AE=E6=94=B9=EF=BC=8C?= =?UTF-8?q?=E7=99=BE=E5=88=86=E6=AF=94=E4=BC=A4=E5=AE=B3=E5=AF=B9boss?= =?UTF-8?q?=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Battle/Logic/Base/Effect.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Effect.lua b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Effect.lua index a9d65748cf..79b2e2f3cd 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Effect.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Effect.lua @@ -2269,9 +2269,11 @@ local effectList = { -- a[属性],b[float] [118] = function(caster, target, args, interval, skill) local pro = args[1] - local f1 = args[2] - + local f1 = args[2] BattleLogic.WaitForTrigger(interval, function () + if (pro==12 or pro==13) and BattleUtil.CheckIsBoss(target) then + return + end local damage = floor(BattleUtil.ErrorCorrection(f1 * caster:GetRoleData(BattlePropList[pro]))) BattleUtil.FinalDamage(skill, caster, target, damage, nil, 0, nil, true) end) @@ -2333,8 +2335,10 @@ local effectList = { [124] = function(caster, target, args, interval, skill) local pro = args[1] local f1 = args[2] - BattleLogic.WaitForTrigger(interval, function () + if (pro==12 or pro==13) and BattleUtil.CheckIsBoss(target) then + return + end local damage = floor(BattleUtil.ErrorCorrection(f1 * target:GetRoleData(BattlePropList[pro]))) BattleUtil.FinalDamage(skill, caster, target, damage, nil, 0, nil, true) end)