From dc7922d80c1d133b6261b8af1d521567d2c0a35d Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 30 十月 2025 16:51:39 +0800
Subject: [PATCH] Merge branch 'master' of http://mobile.secondworld.net.cn:10010/r/Project_SG_scripts

---
 Main/System/HeroUI/HeroCollectionCardCell.cs |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/Main/System/HeroUI/HeroCollectionCardCell.cs b/Main/System/HeroUI/HeroCollectionCardCell.cs
index 178ce11..e403273 100644
--- a/Main/System/HeroUI/HeroCollectionCardCell.cs
+++ b/Main/System/HeroUI/HeroCollectionCardCell.cs
@@ -13,7 +13,7 @@
     [SerializeField] Text nameText;
     [SerializeField] Image trainStateImg;
     [SerializeField] RedpointBehaviour redpoint;
-    [SerializeField] Button fullBtn;
+    [SerializeField] Button bookLVBtn;
     [SerializeField] GameObject unGetObj;
     [SerializeField] GameObject activeObj; // 鍙縺娲诲甫娴佸厜鏁堟灉鏉愯川
 
@@ -29,7 +29,7 @@
         int funcState = HeroUIManager.Instance.GetHeroBookState(heroID, quality);
 
         activeObj.SetActive(funcState == 1);
-        fullBtn.SetActive(funcState == 5);
+        bookLVBtn.SetActive(funcState > 1);
         unGetObj.SetActive(funcState == 0);
 
         countryImg.SetSprite(HeroUIManager.Instance.GetCountryIconName(heroConfig.Country));
@@ -41,7 +41,7 @@
         if (funcState == 3 || funcState == 4)
         {
             trainStateImg.SetActive(true);
-            trainStateImg.SetSprite("herofuncstate2");
+            trainStateImg.SetSprite("herofuncstate4");
         }
         else
         {
@@ -76,9 +76,14 @@
             {
                 UIManager.Instance.OpenWindow<HeroCollectionLvUpWin>();
             }
+            else
+            {
+                HeroUIManager.Instance.selectForPreviewHeroID = heroID;
+                UIManager.Instance.OpenWindow<HeroBestWin>();
+            }
         });
         
-        fullBtn.AddListener(() =>
+        bookLVBtn.AddListener(() =>
         {
             HeroUIManager.Instance.selectCollectHeroID = heroID;
             UIManager.Instance.OpenWindow<HeroCollectionLvUpWin>();

--
Gitblit v1.8.0