From c8aea6cbef51b3dd41b4d911bc7e6bf89a6e2e2d Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 20 三月 2026 15:14:33 +0800
Subject: [PATCH] 0312 优化红颜定军阁解锁判断
---
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