Quellcode durchsuchen

修改战区争霸

gitxsm vor 8 Monaten
Ursprung
Commit
5cc5563f67

+ 1 - 1
script/module/areaBattle/AreaBattleNS.lua

@@ -306,7 +306,7 @@ function getActState(human)
 end
 
 function isOpen(human)
-    return openCheck()
+    return RoleSystemLogic.isOpen(human, RoleSystemDefine.ROLE_SYS_ID_1306)
 end
 
 function getCombatObjList(human, side, args, combatType)

+ 0 - 4
script/module/roleSystem/RoleSystemLogic.lua

@@ -81,10 +81,6 @@ function isOpen(human, id, sendErr)
 		if not res then
 			return false, config
 		end
-	elseif id == RoleSystemDefine.ROLE_SYS_ID_1306 then
-		if config.module and config.module.isOpen and not config.module.isOpen(human,config) then
-			return false, config
-		end
 	end
 	
 	return true, config