From 537a1c26804c260a713567eb10fd1ecb6c69a8d5 Mon Sep 17 00:00:00 2001 From: Somebody Date: Sun, 19 Jan 2025 10:44:49 +0800 Subject: [PATCH] fix: MoC turn counter --- GameServer/Game/Challenge/ChallengeInstance.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameServer/Game/Challenge/ChallengeInstance.cs b/GameServer/Game/Challenge/ChallengeInstance.cs index cf078fc8..c6a2a77a 100644 --- a/GameServer/Game/Challenge/ChallengeInstance.cs +++ b/GameServer/Game/Challenge/ChallengeInstance.cs @@ -296,7 +296,7 @@ public class ChallengeInstance if (monsters == 0) await AdvanceStage(req); // Calculate rounds left - if (IsStory()) RoundsLeft = (int)Math.Min(Math.Max(RoundsLeft - req.Stt.RoundCnt, 1), RoundsLeft); + if (!(IsStory() && IsBoss())) RoundsLeft = (int)Math.Min(Math.Max(RoundsLeft - req.Stt.RoundCnt, 1), RoundsLeft); // Set saved technique points (This will be restored if the player resets the challenge) SavedMp = Player.LineupManager!.GetCurLineup()!.Mp;