【七界试炼】======入口提示修改

dev_fengTi_And
PC-202302260912\Administrator 2023-07-07 15:51:59 +08:00
parent cd209bdb76
commit 4a15931ce1
1 changed files with 23 additions and 2 deletions

View File

@ -436,6 +436,27 @@ function CarbonsPanel:BtnClick(id)
end
elseif id==FUNCTION_OPEN_TYPE.QIJIESHILIAN then --七界试炼
if ActTimeCtrlManager.SingleFuncState(id) then
local tipStr=""
local state=0
if not ActTimeCtrlManager.IsQualifiled(FUNCTION_OPEN_TYPE.QIJIESHILIAN) then
state = -1
tipStr = ActTimeCtrlManager.GetFuncTip( FUNCTION_OPEN_TYPE.QIJIESHILIAN)
end
-- 跨服相关判断
if not JumpServerManager.GetQiJieIsStart() then
state = -4
tipStr = string.format("开服第%s周开放",ConfigManager.GetConfigData(ConfigName.MServerArenaSetting,3).OpenWeek)
elseif not JumpServerManager.GetHightLadderDataIsGroup() then
state = -5
tipStr = "未划分跨服分组,无法参与!"
else
state = 1
tipStr = ""
end
if state<1 then
PopupTipPanel.ShowTip(tipStr)
return
end
local qiejieConfig = ConfigManager.GetConfig(ConfigName.QijieStage)
NetManager.SevenWorldInfoRequest(0,function (msg)
QiJieShiLianManager.IsLock = false
@ -447,7 +468,7 @@ function CarbonsPanel:BtnClick(id)
end
end)
else
JumpManager.GoJump(40059)
--JumpManager.GoJump(40059)
PopupTipPanel.ShowTip(ActTimeCtrlManager.SystemOpenTip(id))
end
elseif id==FUNCTION_OPEN_TYPE.HOMELAND then --洞府
@ -456,7 +477,7 @@ function CarbonsPanel:BtnClick(id)
else
PopupTipPanel.ShowTip(ActTimeCtrlManager.SystemOpenTip(id))
end
elseif id==FUNCTION_OPEN_TYPE.LINGMAIMIJING then --洞府
elseif id==FUNCTION_OPEN_TYPE.LINGMAIMIJING then --灵脉
if not ActTimeCtrlManager.IsQualifiled(FUNCTION_OPEN_TYPE.LINGMAIMIJING) then
PopupTipPanel.ShowTip(ActTimeCtrlManager.GetFuncTip( FUNCTION_OPEN_TYPE.LINGMAIMIJING))
return