挂机界面 今日开启关卡显示修改================同bt

(cherry picked from commit 3d37b9ce9e)
tcx_xiyou_bt_ios
wangzhenxing 2024-06-06 14:54:07 +08:00
parent 7b7f72fc92
commit 79d500c572
1 changed files with 9 additions and 1 deletions

View File

@ -652,7 +652,15 @@ function this.ShowBattleInfo()
curSoliderStageConfig=ConfigManager.GetConfigData(ConfigName.SoldierStageConfig,FightPointPassManager.soldierLayerId)
local heroData = ConfigManager.GetConfigData(ConfigName.HeroConfig,curSoliderStageConfig.Hero)
local bossName=GetResourcePath(heroData.Live)
this.openTip.text=curSoliderStageConfig.OpenTips
local tipString
for _, config in ConfigPairs(soldierStageConfig) do
if config.OpenRule and #config.OpenRule>0 and config.OpenRule[1][2]==GetOpenServerDayNum() then
tipString=config.OpenTips
break
end
end
this.openTip.text=tipString
if bossName~=this.bossLiveName then
poolManager:UnLoadLive(this.bossLiveName, this.bossLiveGO, PoolManager.AssetType.GameObject)
this.bossLiveName=bossName