generated from nhcarrigan/template
feat: communicate quest failure mechanics in the UI (#82)
## Summary Addresses recurring community confusion about quests failing — multiple players asked whether it was a bug or intended behaviour with no in-game explanation. - **Exports `zoneFailureChance`** from `tick.ts` so the quest panel can read it - **Quest cards** now show a `🎲 X% failure chance` note on all available quests, with a brief explanation that a failure resets the quest with no rewards - **"Last attempt failed" hint** now reads `"⚠️ Last attempt failed — no rewards were granted."` so players understand the consequence immediately - **About panel** updated to document the failure mechanic, including the 10%–40% range across zones Closes #80 ✨ This PR was created with help from Hikari~ 🌸 Reviewed-on: #82 Co-authored-by: Hikari <hikari@nhcarrigan.com> Co-committed-by: Hikari <hikari@nhcarrigan.com>
This commit was merged in pull request #82.
This commit is contained in:
@@ -93,7 +93,7 @@ export const RESOURCE_CAP = 1e300;
|
||||
* On failure the quest resets to "available" with no rewards; the player must wait the
|
||||
* full duration again on their next attempt.
|
||||
*/
|
||||
const zoneFailureChance: Record<string, number> = {
|
||||
export const zoneFailureChance: Record<string, number> = {
|
||||
abyssal_trench: 0.24,
|
||||
astral_void: 0.2,
|
||||
celestial_reaches: 0.22,
|
||||
|
||||
Reference in New Issue
Block a user