| | |
| | | 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); |
| | | } |
| | | |
| | | } |