From 796f2b2e8a0435df7e3cf8e36afeeb69d7b37876 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期六, 13 十二月 2025 16:22:32 +0800
Subject: [PATCH] 0312 特权卡立即跳过不受功能开启影响(20级) 优化挑战BOSS引导提示时机 吞噬红点优武将"新"提醒 优化武将突破红点 满星不能遣散问题

---
 Main/System/HeroUI/HeroUIManager.Reborn.cs |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/Main/System/HeroUI/HeroUIManager.Reborn.cs b/Main/System/HeroUI/HeroUIManager.Reborn.cs
index 484fa83..f8136fb 100644
--- a/Main/System/HeroUI/HeroUIManager.Reborn.cs
+++ b/Main/System/HeroUI/HeroUIManager.Reborn.cs
@@ -119,14 +119,31 @@
         int specialAttrType = selectList[4];
 
         List<string> retGuidList = new List<string>();
+
+        List<int> fullStarHeroIDList = new List<int>();
+        foreach (var heroInfo in _list)
+        {
+            if (heroInfo.heroStar < heroInfo.GetCurMaxStar())
+            {
+                //鐩稿悓姝﹀皢涓凡缁忔湁婊℃槦鐨�
+                continue;
+            }
+            var heorID = heroInfo.heroId;
+            if (fullStarHeroIDList.Contains(heorID))
+                continue;
+            fullStarHeroIDList.Add(heorID);
+
+        }
+
         foreach (var heroInfo in _list)
         {
 
             if (heroInfo.isAttrActive)
                 continue;
 
-            if (heroInfo.heroStar < heroInfo.GetCurMaxStar())
+            if (!fullStarHeroIDList.Contains(heroInfo.heroId))
             {
+                //鐩稿悓姝﹀皢涓凡缁忔湁婊℃槦鐨�
                 continue;
             }
 

--
Gitblit v1.8.0