@@ -306,7 +306,7 @@ function getActState(human)
end
function isOpen(human)
- return openCheck()
+ return RoleSystemLogic.isOpen(human, RoleSystemDefine.ROLE_SYS_ID_1306)
function getCombatObjList(human, side, args, combatType)
@@ -81,10 +81,6 @@ function isOpen(human, id, sendErr)
if not res then
return false, config
- 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
return true, config