From 3d37b9ce9e90d133ef940bdfd6ad33439d75af75 Mon Sep 17 00:00:00 2001 From: wangzhenxing <1545929779@qq.com> Date: Thu, 6 Jun 2024 14:54:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=82=E6=9C=BA=E7=95=8C=E9=9D=A2=20?= =?UTF-8?q?=E4=BB=8A=E6=97=A5=E5=BC=80=E5=90=AF=E5=85=B3=E5=8D=A1=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=BF=AE=E6=94=B9=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D?= =?UTF-8?q?=3D=3D=3D=3D=E5=90=8Cbt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Fight/FightPointPassMainPanel.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua index d4871f453f..c0895ef16c 100644 --- a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua @@ -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