挑战副本bug修改
parent
fd6f30e459
commit
868eb69aa6
|
@ -252,11 +252,11 @@ function this.SetData(root, data)
|
||||||
if type==1 or type==2 then
|
if type==1 or type==2 then
|
||||||
goBtnText.text=Language[10287]
|
goBtnText.text=Language[10287]
|
||||||
goBtnImage.sprite=this.spLoader:LoadSprite("s_slbz_1anniuhuangse")
|
goBtnImage.sprite=this.spLoader:LoadSprite("s_slbz_1anniuhuangse")
|
||||||
power.text = _power--string.format(Language[10288], _power)
|
power.text = _power
|
||||||
tip.gameObject:SetActive(false)
|
tip.gameObject:SetActive(false)
|
||||||
|
goIcon:SetActive(isOpen and freeTime<=0)
|
||||||
|
goIconNum:SetActive( isOpen and freeTime<=0)
|
||||||
if type==2 then
|
if type==2 then
|
||||||
goIcon:SetActive(isOpen and freeTime<=0)
|
|
||||||
goIconNum:SetActive( isOpen and freeTime<=0)
|
|
||||||
goBtnText.text=Language[10289]
|
goBtnText.text=Language[10289]
|
||||||
goBtnImage.sprite=this.spLoader:LoadSprite("s_slbz_1anniuhuise")
|
goBtnImage.sprite=this.spLoader:LoadSprite("s_slbz_1anniuhuise")
|
||||||
tip.text=Language[10290]
|
tip.text=Language[10290]
|
||||||
|
@ -350,7 +350,13 @@ end
|
||||||
---检测tab是否锁定
|
---检测tab是否锁定
|
||||||
function this.TabIsLockCheck(index)
|
function this.TabIsLockCheck(index)
|
||||||
if CarbonManager.challengeCopyDataTable[index].openState==0 then
|
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
|
end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue