From a38e02687f52e6d81e6fb6c1dcbf85ee76938325 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 24 十二月 2025 14:23:43 +0800
Subject: [PATCH] 125 战斗 修复因为自己技能造成自身死亡的卡死问题

---
 Main/System/Main/PlayerMainDate.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Main/System/Main/PlayerMainDate.cs b/Main/System/Main/PlayerMainDate.cs
index 6fe99db..274bb09 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)

--
Gitblit v1.8.0