From 760cd4accf8cd70fbb4740f5a93e8426f831da88 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 01 九月 2025 12:02:45 +0800
Subject: [PATCH] 50 【主界面】核心主体 - 关卡排版;战斗中只要一直发4就可以,需要发2的情况:休息转变为战斗

---
 Main/System/Main/HeroFightingCardCell.cs           |    2 +-
 Main/System/Main/HomeWin.cs                        |    5 ++++-
 Main/System/Battle/BattleField/StoryBattleField.cs |   14 ++++----------
 3 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/Main/System/Battle/BattleField/StoryBattleField.cs b/Main/System/Battle/BattleField/StoryBattleField.cs
index c71bf05..fac13d6 100644
--- a/Main/System/Battle/BattleField/StoryBattleField.cs
+++ b/Main/System/Battle/BattleField/StoryBattleField.cs
@@ -203,9 +203,10 @@
                     return;
                 }
 
-                //	璇锋眰涓嬩竴涓垬鏂楀寘 鎴栬�呮鏌ユ垬鏂楁槸鍚︾粨鏉�
+                // 璇锋眰涓嬩竴涓垬鏂楀寘 鎴栬�呮鏌ユ垬鏂楁槸鍚︾粨鏉�
                 // ReqType; // 0-鍋滄鎴樻枟鍥炲煄锛�1-璁剧疆娑堣�楀�嶅�硷紱2-鎸戞垬鍏冲崱灏忔�紱3-鎸戞垬鍏冲崱boss锛�4-缁х画鎴樻枟锛�
-                //  濡傛灉鍦ㄦ垬鏂� 鎴樻枟鏄惁缁撴潫/鎴樻枟鎸佺画涓� 缁撴潫搴旇鏄寫鎴樹笅涓�鍏� 鎸佺画搴旇鏄户缁垬鏂�
+                // 鎴樻枟涓彧瑕佷竴鐩村彂4灏卞彲浠ワ紝闇�瑕佸彂2鐨勬儏鍐碉細浼戞伅杞彉涓烘垬鏂�
+                //    杩涘叆浼戞伅鐨勯�昏緫锛�1.涓诲姩鐐瑰嚮 2.娌℃湁鎴橀敜 3.鏂嚎閲嶈繛澶箙锛堢害瀹�1鍒嗛挓锛変粛鍋滅暀鍦ㄦ父鎴忓唴 4.鍥炲埌鐧诲綍鐣岄潰锛堝惈鏂嚎瓒呮椂锛�
 
                 BattleDebug.LogError("HandModeOperationAgent DoNext  3");
                 byte reqType;
@@ -216,14 +217,7 @@
                 }
                 else if (battleState == StoryBattleState.Battle)
                 {
-                    if (IsBattleEnd())
-                    {
-                        reqType = 2; // 缁х画鎸戞垬灏忔��
-                    }
-                    else
-                    {
-                        reqType = 4; // 缁х画鎴樻枟
-                    }
+                    reqType = 4; // 缁х画鎴樻枟
                 }
                 else
                 {
diff --git a/Main/System/Main/HeroFightingCardCell.cs b/Main/System/Main/HeroFightingCardCell.cs
index 090d8d5..1108afd 100644
--- a/Main/System/Main/HeroFightingCardCell.cs
+++ b/Main/System/Main/HeroFightingCardCell.cs
@@ -53,7 +53,7 @@
         var star = hero.heroStar;
         clickHeroBtn.AddListener(ClickHero);
         var heroConfig = HeroConfig.Get(heroID);
-        qualityBG.SetSprite("heroheadBG" + heroConfig.Quality);
+        qualityBG.SetSprite("herocBG" + heroConfig.Quality);
 
         var sprite = UILoader.LoadSprite("HeroHead", HeroSkinConfig.Get(hero.SkinID).RectangleIcon);
         if (sprite == null)
diff --git a/Main/System/Main/HomeWin.cs b/Main/System/Main/HomeWin.cs
index b1c52d6..2158193 100644
--- a/Main/System/Main/HomeWin.cs
+++ b/Main/System/Main/HomeWin.cs
@@ -33,6 +33,7 @@
     [SerializeField] Button restBtn;
     [SerializeField] GameObject fightMark;
     [SerializeField] ScaleTween bossTween;
+    [SerializeField] GameObject bossmask;   //瀹屾垚杩涘害閬尅绠¢亾 绾樉绀�
     [SerializeField] GameObject bossActiveGo;
     [SerializeField] GameObject bitemeGo;
     [SerializeField] Text processText;
@@ -314,7 +315,7 @@
             }
         }
 
-        mainLevelScrollRect.normalizedPosition = new Vector2(waveID > 2 ? 0.95f : 0, 0);
+        mainLevelScrollRect.normalizedPosition = new Vector2(waveID > 3 ? 1 : 0, 0);
 
         var chapterConfig = MainChapterConfig.Get(chapterID);
         //銆愭櫘閫氥�戝叧鍗″悕瀛�1-6
@@ -328,6 +329,7 @@
             processText.SetActive(false);
             bossTween.Play();
             bitemeGo.SetActive(true);
+            bossmask.SetActive(true);
         }
         else
         {
@@ -336,6 +338,7 @@
             processText.text = (waveID - 1) * 100 / totalWave + "%";
             bossTween.Stop();
             bitemeGo.SetActive(false);
+            bossmask.SetActive(false);
         }
 
     }

--
Gitblit v1.8.0