From 502382d9a6d487a4077e174a4adb4b9987cf4d01 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 21 十月 2025 17:10:00 +0800
Subject: [PATCH] 306 子 【新手】细节优化 / 新手一键上阵位置调整

---
 Main/System/HeroUI/HeroPosWin.cs |   27 +++++++++++++++++++++++++--
 1 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/Main/System/HeroUI/HeroPosWin.cs b/Main/System/HeroUI/HeroPosWin.cs
index 0c335d1..ab8a8f2 100644
--- a/Main/System/HeroUI/HeroPosWin.cs
+++ b/Main/System/HeroUI/HeroPosWin.cs
@@ -472,10 +472,33 @@
         var guidList = HeroUIManager.Instance.SelectRecommend();
         var team = TeamManager.Instance.GetTeam(HeroUIManager.Instance.selectTeamType);
         team.RemoveAllHeroes();
-        for (int i = 0; i < guidList.Count; i++)
+        if (NewBieCenter.Instance.inGuiding && NewBieCenter.Instance.currentGuide == HeroUIManager.Instance.onekeyGuideID)
         {
-            team.AddHero(HeroManager.Instance.GetHero(guidList[i]), i, true);
+            //绗簩涓己鍒舵帓鍦�5鍙蜂綅
+            if (guidList.Count > 1)
+            {
+                team.AddHero(HeroManager.Instance.GetHero(guidList[1]), 4, true);
+                guidList.RemoveAt(1);
+            }
+
+            for (int i = 0; i < guidList.Count; i++)
+            {
+                int index = i;
+                if (i >= 4)
+                {
+                    index = i + 1;
+                }
+                team.AddHero(HeroManager.Instance.GetHero(guidList[i]), index, true);
+            }
+
         }
+        else
+        {
+            for (int i = 0; i < guidList.Count; i++)
+            {
+                team.AddHero(HeroManager.Instance.GetHero(guidList[i]), i, true);
+            }
+        }        
 
         TeamChangeEvent(new List<int>() { 0, 1, 2, 3, 4, 5 }, -1, Vector3.zero);
 

--
Gitblit v1.8.0