fix: deduct component consumption from element pools in mana conversion
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m20s

Bug #293: elementDrain was computed but never subtracted from element pools.
The tick pipeline now applies net regen (produced - drained) instead of
gross production to element pools, matching the spec §8 regen deduction model.
This commit is contained in:
2026-06-08 12:43:16 +02:00
parent b3b13b6a55
commit fa448f233c
5 changed files with 170 additions and 8 deletions
+1
View File
@@ -229,6 +229,7 @@ Mana-Loop/
│ │ │ │ ├── formatting.test.ts
│ │ │ │ ├── guardian-names.test.ts
│ │ │ │ ├── hasty-enchanter.test.ts
│ │ │ │ ├── mana-conversion-component-deduction.test.ts
│ │ │ │ ├── mana-utils.test.ts
│ │ │ │ ├── melee-auto-attack.test.ts
│ │ │ │ ├── melee-defense-bypass.test.ts