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

tcx_xiyou_dev
wangzhenxing 2024-06-06 14:54:07 +08:00
parent 9e86279aa3
commit 3d37b9ce9e
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