mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 12:16:03 +08:00
fix: MoC turn counter
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user