挑战副本bug修改

dev_chengFeng
yuanshuai 2022-04-25 19:33:11 +08:00
parent fd6f30e459
commit 868eb69aa6
1 changed files with 10 additions and 4 deletions

View File

@ -252,11 +252,11 @@ function this.SetData(root, data)
if type==1 or type==2 then
goBtnText.text=Language[10287]
goBtnImage.sprite=this.spLoader:LoadSprite("s_slbz_1anniuhuangse")
power.text = _power--string.format(Language[10288], _power)
power.text = _power
tip.gameObject:SetActive(false)
goIcon:SetActive(isOpen and freeTime<=0)
goIconNum:SetActive( isOpen and freeTime<=0)
if type==2 then
goIcon:SetActive(isOpen and freeTime<=0)
goIconNum:SetActive( isOpen and freeTime<=0)
goBtnText.text=Language[10289]
goBtnImage.sprite=this.spLoader:LoadSprite("s_slbz_1anniuhuise")
tip.text=Language[10290]
@ -350,7 +350,13 @@ end
---检测tab是否锁定
function this.TabIsLockCheck(index)
if CarbonManager.challengeCopyDataTable[index].openState==0 then
return true,"副本未开启"
local tipStr=""
if CarbonManager.challengeCopyDataTable[index].type==1 then
tipStr="副本每周一,三,五,七开启"
else
tipStr="副本每周二,四,六,七开启"
end
return true,tipStr
end
return false
end