diff --git a/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampNewPanel.lua b/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampNewPanel.lua index 928568132a..85234e7363 100644 --- a/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampNewPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampNewPanel.lua @@ -49,6 +49,9 @@ function MonsterCampNewPanel:InitComponent() this.btnRank = Util.GetGameObject(self.gameObject, "InfoRoot/btnRank") this.btnFormation = Util.GetGameObject(self.gameObject, "InfoRoot/btnFormation") this.btnHelpFight = Util.GetGameObject(self.gameObject, "InfoRoot/btnHelpFight") + this.hintTxt=Util.GetGameObject(self.gameObject, "InfoRoot/hintTxt"):GetComponent("Text") + this.hintTxt.fontSize=40 + this.hintTxt.text="开通超级特权开启快速挑战" end --绑定事件(用于子类重写) @@ -187,11 +190,14 @@ function MonsterCampNewPanel:OnShow() this.OnShowPanel() end function this.OnShowPanel() - local isBuy=OperatingManager.IsBuyGift(2202) + --local isBuy=OperatingManager.IsBuyGift(2202) + local isBuy=PrivilegeManager.GetPrivilegeRemainValue(4021)>0 if isBuy then this.moppingUpBtn:SetActive(true) + this.hintTxt.gameObject:SetActive(false) else this.moppingUpBtn:SetActive(false) + this.hintTxt.gameObject:SetActive(true) end SoundManager.PlayMusic(SoundConfig.BGM_Carbon) CheckRedPointStatus(RedPointType.EpicExplore_LevleReward)