|
|
@@ -67,20 +67,26 @@ end
|
|
|
|
|
|
--
|
|
|
local function isOpen(human)
|
|
|
+ --[[
|
|
|
local openDay = CommonDB.getServerOpenDay()
|
|
|
+ print("openDay:"..openDay)
|
|
|
if not openDay then
|
|
|
+ print("11:lostTempleLogic isOpen not openDay")
|
|
|
return
|
|
|
end
|
|
|
|
|
|
if openDay < 7 then
|
|
|
+ print("12:lostTempleLogic openDay < 7")
|
|
|
return
|
|
|
end
|
|
|
|
|
|
---- �Ѿ�����
|
|
|
+
|
|
|
if (openDay - 7 + 1) % 2 ~= 1 then
|
|
|
+ print("13:lostTempleLogic openDay ~= 1")
|
|
|
return
|
|
|
end
|
|
|
-
|
|
|
+ ]]
|
|
|
if not RoleSystemLogic.isOpen(human, RoleSystemDefine.ROLE_SYS_ID_1208) then
|
|
|
return
|
|
|
end
|