fix: auto-quest continues after quest failure #92

Merged
naomi merged 1 commits from fix/auto-quest-failure into main 2026-03-20 09:35:55 -07:00
Owner

Summary

Fixes #87. When a quest failed, the tick loop detected the failure and turned auto-quest off so the "player could reassess". This meant every quest failure required the player to manually re-enable the toggle.

Root Cause

The tick applies quest failure by resetting the quest to status: "available" with lastFailedAt set. Auto-quest picks up available quests automatically — so turning off auto-quest on failure was entirely unnecessary, it just broke the loop.

Fix

Remove the auto-quest-off-on-failure block entirely. The quest returns to available immediately after failure, so auto-quest naturally retries on the next tick. Players can still disable it manually if they want to stop.

This PR was created with help from Hikari~ 🌸

## Summary Fixes #87. When a quest failed, the tick loop detected the failure and turned auto-quest off so the "player could reassess". This meant every quest failure required the player to manually re-enable the toggle. ## Root Cause The tick applies quest failure by resetting the quest to `status: "available"` with `lastFailedAt` set. Auto-quest picks up `available` quests automatically — so turning off auto-quest on failure was entirely unnecessary, it just broke the loop. ## Fix Remove the auto-quest-off-on-failure block entirely. The quest returns to `available` immediately after failure, so auto-quest naturally retries on the next tick. Players can still disable it manually if they want to stop. ✨ This PR was created with help from Hikari~ 🌸
hikari added 1 commit 2026-03-20 09:33:27 -07:00
fix: auto-quest continues after quest failure
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m7s
CI / Lint, Build & Test (pull_request) Successful in 1m10s
1983b638bd
Closes #87
naomi merged commit bb60ae3390 into main 2026-03-20 09:35:55 -07:00
naomi deleted branch fix/auto-quest-failure 2026-03-20 09:35:55 -07:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/elysium#92