From 897b9d2f29b8ad5f7ded302203e570fa573b224c Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期三, 28 一月 2026 18:36:40 +0800
Subject: [PATCH] 411 定军阁-客户端

---
 Main/System/HeroUI/HeroGiftWin.cs |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/Main/System/HeroUI/HeroGiftWin.cs b/Main/System/HeroUI/HeroGiftWin.cs
index e5b2c2c..74dc167 100644
--- a/Main/System/HeroUI/HeroGiftWin.cs
+++ b/Main/System/HeroUI/HeroGiftWin.cs
@@ -17,7 +17,7 @@
     protected override void OnPreOpen()
     {
         scroller.OnRefreshCell += OnRefreshCell;
-        
+
         CreateScroller();
     }
 
@@ -27,10 +27,22 @@
 
     }
 
+    private List<int> GetKeys()
+    {
+        List<int> res = new List<int>();
+        foreach (var config in HeroTalentConfig.GetValues())
+        {
+            if (config.InitWeight == 0 || config.WashWeight == 0 || config.AweakWeight == 0)
+                continue;
+            res.Add(config.TalentID);
+        }
+        return res;
+    }
+
     List<int> configList = new List<int>();
     void CreateScroller()
     {
-        configList = HeroTalentConfig.GetKeys().ToList();
+        configList = GetKeys();
         var totalCount = configList.Count;
 
         scroller.Refresh();

--
Gitblit v1.8.0