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/BeautyMM/BeautyMMManager.cs | 3 ++-
Main/System/BeautyMM/BeautyMMShowWin.cs | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Main/System/BeautyMM/BeautyMMManager.cs b/Main/System/BeautyMM/BeautyMMManager.cs
index 705c310..5da302a 100644
--- a/Main/System/BeautyMM/BeautyMMManager.cs
+++ b/Main/System/BeautyMM/BeautyMMManager.cs
@@ -671,7 +671,8 @@
case 8:
WarlordPavilionManager.Instance.TryGetHistoryMaxFinishProgress(out int layerNum, out int levelNum);
- if (layerNum > beauty.UnlockValue)
+ FBDJGLevelConfig.TryGetNextLevel(layerNum, levelNum, out int nextLayerNum, out int nextLevelNum);
+ if (nextLayerNum > beauty.UnlockValue)
{
return 3;
}
diff --git a/Main/System/BeautyMM/BeautyMMShowWin.cs b/Main/System/BeautyMM/BeautyMMShowWin.cs
index aa02820..f927446 100644
--- a/Main/System/BeautyMM/BeautyMMShowWin.cs
+++ b/Main/System/BeautyMM/BeautyMMShowWin.cs
@@ -291,7 +291,8 @@
case 8:
//瀹氬啗闃�
WarlordPavilionManager.Instance.TryGetHistoryMaxFinishProgress(out int layerNum, out int levelNum);
- colorType = layerNum > beauty.UnlockValue ? TextColType.Green : TextColType.Red;
+ FBDJGLevelConfig.TryGetNextLevel(layerNum, levelNum, out int nextLayerNum, out int nextLevelNum);
+ colorType = nextLayerNum > beauty.UnlockValue ? TextColType.Green : TextColType.Red;
return Language.Get("BeautyMMUnLockTip8", beauty.UnlockValue) +
UIHelper.AppendColor(colorType, Language.Get("HeroFates11", layerNum, beauty.UnlockValue));
}
--
Gitblit v1.8.0