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 |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/Main/System/Main/PlayerMainDate.cs b/Main/System/Main/PlayerMainDate.cs
index 5164266..274bb09 100644
--- a/Main/System/Main/PlayerMainDate.cs
+++ b/Main/System/Main/PlayerMainDate.cs
@@ -49,6 +49,14 @@
 
     public void PowerAdd(long power)
     {
+        if (UIManager.Instance.IsOpened<NewBieWin>() )
+        {
+            if (UIManager.Instance.GetUI<NewBieWin>().IsFuncOpenGuide())
+            {
+                return;
+            }
+        }
+
         if (prowBool)
         {
             prowNum = power;
@@ -109,7 +117,7 @@
             return;
         }
 
-        prowNum = hero.CalculatePower();
+        prowNum = hero.CalculateFightPower();
         prowNumChange = prowNum - HeroUIManager.Instance.lastFightPower.Value;
         HeroUIManager.Instance.lastFightPower = new KeyValuePair<string, long>();
         isAdd = prowNumChange > 0;

--
Gitblit v1.8.0