玉虚论道入口修改
parent
d45abf6fcf
commit
81ace8ae2e
|
|
@ -205,7 +205,7 @@ local ManagerNames = {
|
|||
--七界试炼管理器
|
||||
"QiJieShiLian/QiJieShiLianManager",
|
||||
--玉虚论道管理器
|
||||
-- "WorldArena/WorldArenaManager",
|
||||
"WorldArena/WorldArenaManager",
|
||||
--秘宝管理器
|
||||
"GeneralPanel/GeneralTreasureMangaer",
|
||||
--!!!!红点管理(尽量放在最后)!!!!--
|
||||
|
|
|
|||
|
|
@ -118,11 +118,18 @@ function this.GetHightLadderDataIsGroup()
|
|||
return isGroup ~= 0
|
||||
end
|
||||
function this.GetHightLadderDataIsStart()
|
||||
LogRed("isStart1:"..tostring(isStart))
|
||||
return isStart >= mServerArenaSetting[1].OpenWeek
|
||||
end
|
||||
function this.GetQiJieIsStart()
|
||||
LogRed("isStart3:"..tostring(isStart))
|
||||
return isStart >= mServerArenaSetting[3].OpenWeek
|
||||
end
|
||||
function this.GetYuxuIsStart()
|
||||
LogRed("isStart2:"..tostring(isStart))
|
||||
return isStart >= mServerArenaSetting[2].OpenWeek
|
||||
end
|
||||
|
||||
-- 获取剩余挑战次数 特权
|
||||
function this.GetCanBattleCount()
|
||||
return PrivilegeManager.GetPrivilegeRemainValue(PRIVILEGE_TYPE.JUMPSERVER_GIGHTLADDER_MIANFEINUM)
|
||||
|
|
|
|||
|
|
@ -245,9 +245,9 @@ function JumpServerPanel:SystemState(id,fun)
|
|||
end
|
||||
-- 跨服相关判断
|
||||
JumpServerManager.GetWorldArenaInfoRequest(function()
|
||||
if not JumpServerManager.GetHightLadderDataIsStart() then
|
||||
if not JumpServerManager.GetYuxuIsStart() then
|
||||
type[id].state = -4
|
||||
type[id].tipStr = string.format("开服第%s周开放!",ConfigManager.GetConfigData(ConfigName.MServerArenaSetting,1).OpenWeek)
|
||||
type[id].tipStr = string.format("开服第%s周开放!",ConfigManager.GetConfigData(ConfigName.MServerArenaSetting,2).OpenWeek)
|
||||
elseif not JumpServerManager.GetHightLadderDataIsGroup() then
|
||||
type[id].state = -5
|
||||
type[id].tipStr = "未划分跨服分组,无法参与!"
|
||||
|
|
|
|||
Loading…
Reference in New Issue