Files
Mana-Loop/docs
n8n-gitea c17a8755ae
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m30s
fix: rebalance rawCost and componentCost formulas to be achievable with realistic regen
- 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
2026-06-12 12:30:00 +02:00
..