From eff4c32f68e9a2420995f462ac712195f248b383 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Mon, 14 Mar 2022 14:06:12 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=88=98=E6=96=97]=3D=3D=3D=3D=3D=3D=3D=3D?= =?UTF-8?q?=E8=A2=AB=E5=8A=A8431=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 | 2 +- 1 file changed, 1 insertion(+), 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 5acbacfe44..d8071e1363 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua @@ -11103,7 +11103,7 @@ local passivityList = { if skill and not skill.isTriggerJudge and judge==1 then return end - local list = RoleManager.Query(function(v) return role.camp == v.camp end) + local list = RoleManager.QueryNoDead(function(v) return role.camp == v.camp end) if list then BattleUtil.RandomList(list) v1=min(v1,#list)