快速挑战入口开启条件修改

china/dev_fengTi
wangzhenxing 2023-08-07 18:59:29 +08:00
parent 59c75221b0
commit f591f0c76e
1 changed files with 3 additions and 2 deletions

View File

@ -190,8 +190,9 @@ function MonsterCampNewPanel:OnShow()
this.OnShowPanel()
end
function this.OnShowPanel()
--local isBuy=OperatingManager.IsBuyGift(2202)
local isBuy=PrivilegeManager.GetPrivilegeRemainValue(4021)>0
local mission=ActivityGiftManager.GetActivityInfo(ActivityTypeDef.shuaChongTeQuan,2202)
local isBuy= OperatingManager.IsBuyGift(2202) or OperatingManager.IsBuyGift(2203) or OperatingManager.IsBuyGift(2204) or PrivilegeManager.GetPrivilegeRemainValue(2038)>0 or (mission and mission.state>0)
--local isBuy=PrivilegeManager.GetPrivilegeRemainValue(2038)>0
if isBuy then
this.moppingUpBtn:SetActive(true)
this.hintTxt.gameObject:SetActive(false)