fix: rebalance rawCost and componentCost formulas to be achievable with realistic regen
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m30s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m30s
- Changed rawCost from exponential 10^(d+1) to linear 2*distance - Base (d=1): 100 → 2 - Composite (d=2): 1,000 → 4 - Exotic (d=3): 10,000 → 6 - Time (d=4): 100,000 → 8 - Changed componentCost from 10*(d+1) to 3*distance - Composite (d=2): 30 → 6 per component - Exotic (d=3): 40 → 9 per component - Time (d=4): 50 → 12 per component - Updated test comments and expectations in conversion-pause-bug-regression.test.ts and mana-conversion-component-deduction.test.ts to match new values Root cause: The exponential rawCost formula produced values 100-10000x too high, making mana conversion permanently paused since drain (rate × cost) always exceeded even late-game raw regen (~20-50/hr). The new linear formula allows conversions to be sustainable at all game stages. Fixes #378
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Circular Dependencies
|
||||
Generated: 2026-06-12T08:05:45.261Z
|
||||
Generated: 2026-06-12T10:15:03.641Z
|
||||
Found: 4 circular chain(s) — these MUST be fixed before modifying involved files.
|
||||
|
||||
1. 1) data/guardian-encounters.ts > data/guardian-procedural.ts
|
||||
|
||||
Reference in New Issue
Block a user