From 4779ce18e856a5e9156de41c2c7f610f7ddb2755 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期二, 21 十月 2025 17:59:02 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
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