Bug: regen-transference discipline has source=transference (circular reference) #222
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug Description
The
regen-transferencediscipline hassourceManaTypes: ['transference']— meaning it consumes transference mana to produce transference mana. Combined with the discipline's own drain also being in transference, the net effect is that running this discipline drains transference without ever producing any net gain.Code Location
src/lib/game/data/disciplines/elemental-regen.ts(around line 92):In
gameStore.tslines 214+, the discipline conversion:transference(source) byconversionAmounttransference(target, same as source) byconversionAmount→ net zeroSo the discipline drains transference as cost, and the "conversion" replaces exactly what was drained. Net result: zero transference gained, while the discipline requires transference to keep running.
Impact
Critical design bug. Transference can never be accumulated through the discipline system. Combined with the attunement conversion bug (#218 — free mana with no source drain), the element economy is fundamentally broken. Transference is the only base-unlocked element, making this a blocking issue for early game progression.
Fix Required
Change
sourceManaTypesfrom['transference']to['raw']so the discipline converts raw mana into transference, matching all other base-element conversion disciplines.Fixed: Changed regen-transference discipline sourceManaTypes from ['transference'] to ['raw'] in elemental-regen.ts. The discipline now correctly converts raw mana into transference instead of having a circular reference.