From d6f220623f75c678adf60555c44ff9690d3c7382 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Mon, 21 Sep 2020 10:07:30 +0900 Subject: [PATCH] =?UTF-8?q?=E3=80=90ID1009487=E3=80=91=20=E3=80=90?= =?UTF-8?q?=E5=9C=A3=E7=89=A9=E3=80=91ID10=20=E6=88=98=E6=96=97=E5=BC=80?= =?UTF-8?q?=E5=A7=8B=E5=9B=9E=E8=A1=80=EF=BC=8C=E6=B2=A1=E6=9C=89=E8=A1=A8?= =?UTF-8?q?=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Battle/Logic/Base/Passivity.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua index 29247d5b2c..0633d019b9 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua @@ -1479,9 +1479,12 @@ local passivityList = { [78] = function(role, args) local pro = args[1] local f1 = args[2] - + LogError("开始治疗") + --这里加一个延时,防止执行时显示层还没有初始化,从而没有表现 + BattleLogic.WaitForTrigger(0.05, function() local val = floor(BattleUtil.FP_Mul(f1, role:GetRoleData(BattlePropList[pro]))) BattleUtil.CalTreat(role, role, val) + end) end, --战斗结束时,为自身回复[a]*[b]的血量。 --a[属性],b[float]