From 7f6a079e18601e8d7c5d0062e80bea88c5731a4c Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 23 十月 2025 16:01:36 +0800
Subject: [PATCH] 0312 优化引导下的一键上阵; 修复引导导致物品掉落卡住主线战斗问题

---
 Main/System/HeroUI/HeroPosWin.cs |   14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diff --git a/Main/System/HeroUI/HeroPosWin.cs b/Main/System/HeroUI/HeroPosWin.cs
index ab8a8f2..00bdc64 100644
--- a/Main/System/HeroUI/HeroPosWin.cs
+++ b/Main/System/HeroUI/HeroPosWin.cs
@@ -474,21 +474,9 @@
         team.RemoveAllHeroes();
         if (NewBieCenter.Instance.inGuiding && NewBieCenter.Instance.currentGuide == HeroUIManager.Instance.onekeyGuideID)
         {
-            //绗簩涓己鍒舵帓鍦�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);
+                team.AddHero(HeroManager.Instance.GetHero(guidList[i]), HeroUIManager.Instance.onekeyGuidePosList[i] - 1, true);
             }
 
         }

--
Gitblit v1.8.0