[+] 在 KLD 表门和里门禁用 FixLevelDisplay (#60)

* 在 KLD 表门和里门禁用 FixLevelDisplay

* improve format
This commit is contained in:
simon
2025-09-23 22:44:26 +10:00
committed by GitHub
parent f1c3b64166
commit db9f4fb44e

View File

@@ -20,6 +20,16 @@ public class FixLevelDisplay
[HarmonyPatch(typeof(MusicChainCardObejct), "SetLevel")]
private static void FixLevelShiftMusicChainCardObejct(MusicLevelID levelID, SpriteCounter ____digitLevel, SpriteCounter ____doubleDigitLevel, bool utage, GameObject ____difficultyUtageQuesionMarkSingleDigit, GameObject ____difficultyUtageQuesionMarkDoubleDigit)
{
// 在 KLD 表门和里门不应用修改
if (GameManager.IsKaleidxScopeMode)
{
if (Singleton<KaleidxScopeManager>.Instance.gateId == 8 ||
Singleton<KaleidxScopeManager>.Instance.gateId == 10)
{
return;
}
}
switch (levelID)
{
case > MusicLevelID.Level9P: