xiyou_sanguo
zhangjiannan 2025-12-25 20:38:31 +08:00
parent d1f977e4a3
commit 8c2677df0a
2 changed files with 6 additions and 4 deletions

View File

@ -44,9 +44,10 @@ function Practice:InitComponent()
self.becomeAGodBtnRedPoint = Util.GetGameObject(self.becomeAGodBtn, "redPoint")
self.becomeAGodBtnLock = Util.GetGameObject(self.becomeAGodBtn, "Lock")
self.becomeAGodBtnRedPoint:SetActive(false)
local lockText = Util.GetGameObject(self.Btns, "rightGrid/becomeAGodBtn/Lock"):GetComponent("Text")
local btnText = Util.GetGameObject(self.Btns, "rightGrid/becomeAGodBtn/giftBtnText"):GetComponent("Text")
lockText.text = "创角第22天开启"
btnText.text = "神觉"
--Util.GetGameObject(self.Btns, "rightGrid/giftBtn"):GetComponent("Image").sprite=self.spLoader:LoadSprite("s_gift_player_zh")
self.fourQuadrantBtn = Util.GetGameObject(self.Btns, "rightGrid/yushenBtn")
self.fourQuadrantRedPoint = Util.GetGameObject(self.fourQuadrantBtn, "redPoint")

View File

@ -252,7 +252,8 @@ function WorldArenaBattleInfoPanel:BindEvent()
end
end)
Util.AddClick(this.btn_fight, function()
if not ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.GodsWayTower_1) then
--if not ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.GodsWayTower_1) then
if not curType == 3 and not ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.GodsWayTower_1) then
PopupTipPanel.ShowTip(Language[10075])
return
end