【线上问题】十绝阵挑战次数显示负数

dev_chengFeng
zhangqiang 2021-06-30 18:28:51 +08:00
parent 2578107be4
commit 34fbfe02d1
2 changed files with 4 additions and 1 deletions

View File

@ -158,6 +158,8 @@ function this.RefreshPanel()
this.curGuildName.text=guildName~="" and guildName or Language[10086] --设置公会名称 没有占据显示无
this.title.text=GetLanguageStrById(guildWarConfig[curIndex].Name)..Language[11025]
--【线上问题】十绝阵挑战次数显示负数 < 0 and 0 or (DeathPosManager.maxBattleTime-msg.challengeCount)
DeathPosManager.battleTime = DeathPosManager.battleTime < 0 and 0 or DeathPosManager.battleTime
this.battleTime.text=Language[10520]..DeathPosManager.battleTime
this.SetFormation()
this.SetReward()

View File

@ -144,7 +144,8 @@ function this.RefreshPanel()
end
DeathPosManager.rewardTimeTip= Language[11031]..GetTimeMonthDayMinBySeconds(msg.overTime)..Language[11032]
DeathPosManager.battleTime=DeathPosManager.maxBattleTime-msg.challengeCount
--【线上问题】十绝阵挑战次数显示负数 < 0 and 0 or (DeathPosManager.maxBattleTime-msg.challengeCount)
DeathPosManager.battleTime = (DeathPosManager.maxBattleTime-msg.challengeCount) < 0 and 0 or (DeathPosManager.maxBattleTime-msg.challengeCount)
this.battleTime.text=Language[10520].. DeathPosManager.battleTime
DeathPosManager.SetGuildInfoData(msg.infos)
--设置公会上了哪个阵 显示公会名称