From 5a4e34c8a85737c0fa5b5775122da31155cbaef3 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 09 二月 2026 14:46:01 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/Main/PlayerMainDate.cs |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/Main/System/Main/PlayerMainDate.cs b/Main/System/Main/PlayerMainDate.cs
index 6fe99db..76fb4cb 100644
--- a/Main/System/Main/PlayerMainDate.cs
+++ b/Main/System/Main/PlayerMainDate.cs
@@ -49,9 +49,12 @@
 
     public void PowerAdd(long power)
     {
-        if (NewBieCenter.Instance.inGuiding)
+        if (UIManager.Instance.IsOpened<NewBieWin>() )
         {
-            return;
+            if (UIManager.Instance.GetUI<NewBieWin>().IsFuncOpenGuide())
+            {
+                return;
+            }
         }
 
         if (prowBool)
@@ -109,7 +112,7 @@
             return;
         }
 
-        if (hero.IsInTeamByTeamType(TeamType.Story))
+        if (hero.IsInTeamByTeamType(BattlePreSetType.Story))
         { 
             return;
         }

--
Gitblit v1.8.0