fix: auto-resume disciplines + stop bonuses while paused (bug #380)
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m24s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m24s
Bug 1 - No auto-resume: Replaced 'if (disc.autoPaused) continue' with a check that tests whether sufficient mana is now available. If so, clears autoPaused and processes the tick normally. Mana regen runs before discipline processing, so updated mana values are already available. Bug 2 - Bonuses while paused: Added '&& !disc.autoPaused' filter in discipline-effects.ts so paused disciplines no longer contribute stat bonuses, conversion rates, or perk effects. All 1196 tests pass.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Circular Dependencies
|
||||
Generated: 2026-06-12T12:18:22.789Z
|
||||
Generated: 2026-06-12T16:57:09.913Z
|
||||
Found: 4 circular chain(s) — these MUST be fixed before modifying involved files.
|
||||
|
||||
1. 1) data/guardian-encounters.ts > data/guardian-procedural.ts
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"_meta": {
|
||||
"generated": "2026-06-12T12:18:20.580Z",
|
||||
"generated": "2026-06-12T16:57:07.675Z",
|
||||
"description": "Import dependency graph for src/lib/game. Keys are files, values are arrays of files they import.",
|
||||
"usage": "To find what a file affects, search for its path in the VALUES. To find what a file depends on, look at its KEY entry."
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user