From f84552976a8970c7121ffd4e1f1d2865a4a261d5 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 05 十一月 2025 10:55:28 +0800
Subject: [PATCH] 0312 武将觉醒增加开启条件

---
 Main/System/HeroUI/HeroTrainWin.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Main/System/HeroUI/HeroTrainWin.cs b/Main/System/HeroUI/HeroTrainWin.cs
index fe2b66f..2a30fe0 100644
--- a/Main/System/HeroUI/HeroTrainWin.cs
+++ b/Main/System/HeroUI/HeroTrainWin.cs
@@ -130,6 +130,10 @@
         deleteBtn.AddListener(DeleteHero);
         awakeBtn.AddListener(() =>
         {
+            if (!FuncOpen.Instance.IsFuncOpen(38, true))
+            {
+                return;
+            }
             HeroUIManager.Instance.selectAwakeHeroGuid = guid;
             UIManager.Instance.OpenWindow<HeroAwakeWin>();
         });

--
Gitblit v1.8.0