From 39001a600fcae2bcf27c225df8752d75fb92fef4 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 31 十月 2025 11:18:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/HeroUI/HeroUIManager.Talent.cs |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Main/System/HeroUI/HeroUIManager.Talent.cs b/Main/System/HeroUI/HeroUIManager.Talent.cs
index 793db64..8302b51 100644
--- a/Main/System/HeroUI/HeroUIManager.Talent.cs
+++ b/Main/System/HeroUI/HeroUIManager.Talent.cs
@@ -87,7 +87,7 @@
 
 
 
-    //鏄熶笂闄愮敱鍝佽川 鍜� 瑙夐啋鍐冲畾
+    //鏄熸渶缁堜笂闄愮敱鍝佽川 鍜� 瑙夐啋鍐冲畾
     public int GetMaxStarCount(int heroID, int quality)
     {
         if (HeroAwakeConfig.GetHeroAwakeConfig(heroID, 1) == null)
@@ -148,7 +148,7 @@
                     }
                 }
 
-                giftBaseCells[i].Init(giftID, giftLV, null, state);
+                giftBaseCells[i].Init(giftID, giftLV, state, hero.heroId, i, hero.awakeLevel);
             }
             else
             {
@@ -166,8 +166,7 @@
                 }
                 else
                 {
-                    int index = i;
-                    giftBaseCells[i].Init(-1, 0, null, hero.heroId, index);
+                    giftBaseCells[i].Init(-1, 0, 0, hero.heroId, i);
                 }
             }
 

--
Gitblit v1.8.0