From b75c00e428346a46210318e9eda6dc07fe579bf6 Mon Sep 17 00:00:00 2001 From: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Date: Fri, 29 Aug 2025 22:31:34 +0200 Subject: [PATCH] chore: correct breaks in Thermia Fractures cycle --- src/services/worldStateService.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/services/worldStateService.ts b/src/services/worldStateService.ts index cbedf363..0e647f49 100644 --- a/src/services/worldStateService.ts +++ b/src/services/worldStateService.ts @@ -2630,10 +2630,15 @@ export const getWorldState = (buildLabel?: string): IWorldState => { ); } - const thermiaFracturesCycleDay = day % 32; - const isThermiaFracturesActive = thermiaFracturesCycleDay < 14; + // Thermia Fractures activates for 14 days, with alternating 4 and 3-day breaks + const thermiaFracturesCycleDay = day % 35; + const isThermiaFracturesActive = + thermiaFracturesCycleDay < 14 || (thermiaFracturesCycleDay >= 18 && thermiaFracturesCycleDay < 32); + const activeThermiaFracturesCycleDay = + thermiaFracturesCycleDay - (thermiaFracturesCycleDay < 14 ? 0 : thermiaFracturesCycleDay < 18 ? 14 : 32); + if (config.worldState?.thermiaFracturesOverride ?? isThermiaFracturesActive) { - const activeStartDay = day - thermiaFracturesCycleDay; + const activeStartDay = day - activeThermiaFracturesCycleDay; const count = config.worldState?.thermiaFracturesProgressOverride ?? 0; const activation = config.worldState?.thermiaFracturesOverride ? 1740416400000 : getSortieTime(activeStartDay); -- 2.47.2