From ffd55c202987fb7122e6ce19b5e6f738e33fdf01 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 20 十一月 2025 15:29:10 +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