feat: add zone-scaled quest failure chance

Quests now have a random chance of failing when their timer expires.
On failure the quest resets to available (no rewards lost, just time).
Failure chance scales by zone: 10% in Verdant Vale up to 40% in the
end-game zones. The Quest type gains lastFailedAt so the UI can show
a warning on subsequent attempts.
This commit is contained in:
2026-03-07 12:13:35 -08:00
committed by Naomi Carrigan
parent 58e7000954
commit 25d4a11eeb
4 changed files with 44 additions and 0 deletions
+2
View File
@@ -25,4 +25,6 @@ export interface Quest {
zoneId: string;
/** Minimum party combat power required to start this quest */
combatPowerRequired?: number;
/** Unix timestamp of the most recent failed attempt (if any) */
lastFailedAt?: number;
}