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)