挂机界面 今日开启关卡显示修改================同bt
parent
9e86279aa3
commit
3d37b9ce9e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue