Files
Mana-Loop/docs
n8n-gitea 62638d62d5
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m21s
fix: Apply pact affinity cast speed bonus to all spell casts (AC-13)
Previously the pact affinity cast speed bonus was only applied to invocation
spells. Per spec §6.2 and §10.2, it should apply to ALL spell casts (active,
equipment, and invocation).

Changes:
- invocation-utils.ts: Added computeAttackSpeedMultFromPactAffinity() helper
  that combines prestige upgrade + discipline bonus and applies the diminishing
  returns formula
- gameStore.ts: Compute total pact affinity (prestige + discipline) and apply
  cast speed bonus to attackSpeedMult passed to processCombatTick
- combat-actions.ts: Use attackSpeedMult directly for active/equipment spell cast
  progress (bonus already baked in)
- combat-invocation.ts: Use attackSpeedMult directly for invocation cast progress
  (bonus already baked in), removed redundant pactAffinity parameter
2026-06-13 17:25:57 +02:00
..