Skip to content

MEDIUM: Cooldown consumed on failed triggers #27

Description

@TheCodingDad-TisonK

Severity: MEDIUM

File: src/RandomWorldEvents.lua:597-602
Multiplayer: No
Fix Complexity: SIMPLE
Confidence: 100% (Wizard-verified)

Description

Cooldown is set after triggerRandomEvent() regardless of whether it succeeded. A failed trigger still imposes a full cooldown.

Fix

Only set self.lastEventTime = now when an event actually fires.


Source: Consolidated Bug Review 2026-07-26, RWE-002

Metadata

Metadata

Labels

bugSomething isn't workinggameplayGameplay relatedready-for-devReady for developmentuser-repliedUser is awaiting response

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions