From ab82a71eab5f13795876b913b7423fb3e6a4f374 Mon Sep 17 00:00:00 2001 From: lcy <1459594991@qq.com> Date: 星期一, 20 十月 2025 19:44:29 +0800 Subject: [PATCH] 143 演武场-客户端 战斗支持显示国家武将数量及点击展示详情,修复层级 --- Main/System/HeroUI/HeroFormationWin.cs | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Main/System/HeroUI/HeroFormationWin.cs b/Main/System/HeroUI/HeroFormationWin.cs index a2c0369..60acf92 100644 --- a/Main/System/HeroUI/HeroFormationWin.cs +++ b/Main/System/HeroUI/HeroFormationWin.cs @@ -23,8 +23,16 @@ { scroller.OnRefreshCell += OnRefreshCell; CreateScroller(); - - Int2 result = HeroUIManager.Instance.GetMaxCountHeroCountry(HeroUIManager.Instance.selectTeamType, true); + Int2 result; + if (HeroUIManager.Instance.isCustonHeroFormation) + { + result = HeroUIManager.Instance.GetMaxCountHeroCountry(HeroUIManager.Instance.custonTeamHeroes);; + } + else + { + result = HeroUIManager.Instance.GetMaxCountHeroCountry(HeroUIManager.Instance.selectTeamType, true); + } + var config = HeroLineupHaloConfig.GetConfig(result.x, result.y); if (config == null) -- Gitblit v1.8.0