From 7bb2530b83f81e3b132711c8cbd0161178df9367 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 21 一月 2026 17:44:30 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/Battle/WarlordPavilionBattleWin.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Main/System/Battle/WarlordPavilionBattleWin.cs b/Main/System/Battle/WarlordPavilionBattleWin.cs
index 96a4b03..da520a4 100644
--- a/Main/System/Battle/WarlordPavilionBattleWin.cs
+++ b/Main/System/Battle/WarlordPavilionBattleWin.cs
@@ -134,6 +134,9 @@
         }
 
         bossBattleObject = warlordField.FindBoss();
+        
+        WarlordPavilionManager.Instance.AnalysisFinishProgress(warlordField.FuncLineID, out int layerNum, out int levelNum);
+        txtBossName.text = Language.Get("WarlordPavilion22", layerNum, levelNum);
 
         DisplaySkillWordsList(lineupConfig);
 
@@ -141,7 +144,7 @@
         {
             TeamHero teamHero = bossBattleObject.teamHero;
             bossHeadCell.SetTeamHero(teamHero);
-            txtBossName.text = teamHero.name;
+            //txtBossName.text = teamHero.name;
             NPCConfig npcConfig = NPCConfig.Get(teamHero.NPCID);
             //bossLifeBar.SetBaseInfo(Mathf.Max(1, npcConfig.LifeBarCount), (ulong)teamHero.curHp, (ulong)teamHero.maxHp);
             bossBattleObject.buffMgr.onBuffChanged -= OnBuffChanged;
@@ -150,7 +153,7 @@
         else
         {
             bossHeadCell.SetTeamHero(null);
-            txtBossName.text = string.Empty;
+            //txtBossName.text = string.Empty;
             //bossLifeBar.SetBaseInfo(2, 2, 2);
             Debug.LogError("鎵句笉鍒癰oss");
         }

--
Gitblit v1.8.0