From 689522120c108c45d4992276ebc15db5d30b5c02 Mon Sep 17 00:00:00 2001 From: "DESKTOP-98AVA47\\Administrator" Date: Tue, 2 Nov 2021 06:42:19 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=88=98=E6=96=97]=3D=3D=3D=3D=3D=3D=3D=3D=3D?= =?UTF-8?q?=3D=3D=3D=E5=B1=B1=E6=B2=B3=E7=A4=BE=E7=A8=B7=E5=9B=BE=20?= =?UTF-8?q?=E6=98=9F=E7=BA=A7=E6=A3=80=E6=B5=8B=E6=9D=A1=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=20=E4=B9=8B=E5=89=8D=E6=94=BE=E9=80=90=E7=9A=84?= =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E5=88=A4=E6=96=AD=E8=BF=9B=E4=BA=BA=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/Battle/Logic/HardStageCondition.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/HardStageCondition.lua b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/HardStageCondition.lua index 4e27a1996b..fd3330ec78 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/HardStageCondition.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/HardStageCondition.lua @@ -21,7 +21,7 @@ local _ConditionConfig = { --上阵[a]个神将通过关卡 [3]=function(condition) local v1 = condition[1] - local list = RoleManager.Query(function(v) return v.camp == 0 end,true) + local list = RoleManager.QueryIncludeExile(function(v) return v.camp == 0 end,true) if BattleUtil.LengthOfTable(list)<=v1 then return 1 end @@ -47,7 +47,7 @@ local _ConditionConfig = { [5]=function(condition) local v1 = condition[1] local v2 = condition[2] - local list = RoleManager.Query(function(v) return v.camp == 0 and v.element==v1 end,true) + local list = RoleManager.QueryIncludeExile(function(v) return v.camp == 0 and v.element==v1 end,true) if BattleUtil.LengthOfTable(list)>=v2 then return 1 end @@ -56,7 +56,7 @@ local _ConditionConfig = { --存活[a]名 [6]=function(condition) local v1 = condition[1] - local list = RoleManager.Query(function(v) return v.camp == 0 and not v:IsDead() end) + local list = RoleManager.QueryIncludeExile(function(v) return v.camp == 0 and not v:IsDead() end) if BattleUtil.LengthOfTable(list)>=v1 then return 1 end @@ -65,7 +65,7 @@ local _ConditionConfig = { --不上阵[a]职能神将通过关卡 [7]=function(condition) local v1 = condition[1] - local list = RoleManager.Query(function(v) return v.camp == 0 and v.professionId==v1 end,true) + local list = RoleManager.QueryIncludeExile(function(v) return v.camp == 0 and v.professionId==v1 end,true) if BattleUtil.LengthOfTable(list)==0 then return 1 end @@ -74,7 +74,7 @@ local _ConditionConfig = { --不上阵[a]阵营神将通过关卡 [8]=function(condition) local v1 = condition[1] - local list = RoleManager.Query(function(v) return v.camp == 0 and v.element==v1 end,true) + local list = RoleManager.QueryIncludeExile(function(v) return v.camp == 0 and v.element==v1 end,true) if BattleUtil.LengthOfTable(list)==0 then return 1 end @@ -83,7 +83,7 @@ local _ConditionConfig = { --佩戴xxxid被动通过关卡 [9]=function(condition) local v1 = condition[1] - local list = RoleManager.Query(function(v) return v.camp == 0 end,true) + local list = RoleManager.QueryIncludeExile(function(v) return v.camp == 0 end,true) if not list or #list==0 then return 0 end @@ -107,7 +107,7 @@ local _ConditionConfig = { --全部上阵[a]职业神将通过关卡 [11]=function(condition) local v1 = condition[1] - local list = RoleManager.Query(function(v) return v.camp == 0 and v.professionId~=v1 end,true) + local list = RoleManager.QueryIncludeExile(function(v) return v.camp == 0 and v.professionId~=v1 end,true) if BattleUtil.LengthOfTable(list)==0 then return 1 end