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 |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Main/System/HeroUI/HeroUIManager.Talent.cs b/Main/System/HeroUI/HeroUIManager.Talent.cs
index ba8af02..8302b51 100644
--- a/Main/System/HeroUI/HeroUIManager.Talent.cs
+++ b/Main/System/HeroUI/HeroUIManager.Talent.cs
@@ -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, 0, hero.heroId, index);
+                    giftBaseCells[i].Init(-1, 0, 0, hero.heroId, i);
                 }
             }
 

--
Gitblit v1.8.0