From 3b64befcd8b2ab5abef1a33c5c8f73a6b245aff0 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期四, 16 十月 2025 19:59:09 +0800
Subject: [PATCH] 136 子 【挑战】战锤秘境 / 【挑战】战锤秘境-客户端 修改战场名

---
 Main/System/MainLevel/MainBossEnterWin.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/Main/System/MainLevel/MainBossEnterWin.cs b/Main/System/MainLevel/MainBossEnterWin.cs
index e07b2a7..058acbf 100644
--- a/Main/System/MainLevel/MainBossEnterWin.cs
+++ b/Main/System/MainLevel/MainBossEnterWin.cs
@@ -22,6 +22,7 @@
     [SerializeField] Button rankBtn;
     [SerializeField] ItemCell[] passAwards;
     [SerializeField] Button fightBtn;
+    [SerializeField] Image fightIcon;
     [SerializeField] ScrollerController dropItemScroller;
 
 
@@ -108,6 +109,7 @@
         var canChallengeBoss = AutoFightModel.Instance.CanChallengeBoss();
 
         fightBtn.SetInteractable(canChallengeBoss);
+        fightIcon.SetActive(canChallengeBoss);
 
         for (int i = 0; i < passAwards.Length; i++)
         {
@@ -137,6 +139,8 @@
             var pack = new CB410_tagCMTurnFight();
             pack.MapID = 2;
             GameNetSystem.Instance.SendInfo(pack);
+
+            AutoFightModel.Instance.isPause = true;
         }
         CloseWindow();
     }
@@ -150,8 +154,8 @@
             case PlayerDataType.ExAttr2:
                 var canChallengeBoss = AutoFightModel.Instance.CanChallengeBoss();
 
-                fightBtn.interactable = canChallengeBoss;
-                fightBtn.SetColorful(null, canChallengeBoss);
+                fightBtn.SetInteractable(canChallengeBoss);
+                fightIcon.SetActive(canChallengeBoss);
                 break;
         }
 

--
Gitblit v1.8.0