From 47edf3b630b2ad42840b9bd85a963fc16a5d6136 Mon Sep 17 00:00:00 2001 From: wangzhenxing <1545929779@qq.com> Date: Fri, 25 Aug 2023 18:32:56 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=88=98=E6=96=97=E3=80=91=3D=3D=3D?= =?UTF-8?q?=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=E8=A2=AB=E5=8A=A8?= =?UTF-8?q?477=20478=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Battle/Logic/Base/Passivity.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua index b4157a45ad..104c58a54e 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua @@ -12580,6 +12580,9 @@ local passivityList = { return end + if defRole==nil or defRole.Rage==nil then + return + end if cp==1 and defRole.Rage<=num then return end @@ -12615,6 +12618,9 @@ local passivityList = { if skill and not skill.isTriggerJudge and judge==1 then return end + if atkRole==nil or atkRole.Rage==nil then + return + end if cp==1 and atkRole.Rage<=num then return end