挑战副本bug修改

dev_chengFeng
yuanshuai 2022-04-25 18:56:48 +08:00
parent 626a2a98ef
commit fd6f30e459
1 changed files with 8 additions and 3 deletions

View File

@ -222,8 +222,14 @@ function CarbonsPanel:TipShow(_go,_value)
self.timeList[_value.id].TextObj = timeText
self.timeList[_value.id].Text = "剩余时间:"
self.timeList[_value.id].time = ExpeditionManager.startTime + tonumber(expeditionData.SeasonEnd) - GetTimeStamp() + expeditionData.SeasonInterval * 60 - 300
elseif _value.id == FUNCTION_OPEN_TYPE.ENDLESS or _value.id == FUNCTION_OPEN_TYPE.TRIAL then--无尽副本\森罗幻境
time:SetActive(false)
elseif _value.id == FUNCTION_OPEN_TYPE.ENDLESS then
time:SetActive(true)
self.timeList[_value.id] = {}
self.timeList[_value.id].TextObj = timeText
self.timeList[_value.id].Text = "剩余时间:"
self.timeList[_value.id].time = CalculateSecondsNowTo_N_OClock(0)
elseif _value.id == FUNCTION_OPEN_TYPE.TRIAL then--无尽副本\森罗幻境
time:SetActive(true)
self.timeList[_value.id] = {}
self.timeList[_value.id].TextObj = timeText
self.timeList[_value.id].Text = "剩余时间:"
@ -366,7 +372,6 @@ function CarbonsPanel:BtnClick(id)
-- MapManager.SetViewSize(3)--设置视野范围(明雷形式)
-- MapManager.isTimeOut = false
-- UIManager.OpenPanel(UIName.EndLessCarbonPanel)
Log("~~~~~~~~~~~~~~~~~~打卡打卡")
UIManager.OpenPanel(UIName.ChallengeCopyPanel)
else
PopupTipPanel.ShowTip(Language[10281])