[High] [Task] [WIP/Incomplete] Enemy defenses (armor/barrier/dodge) are "Data-only" — not applied in combat pipeline #278
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?
Type: Work in progress / Incomplete feature
Priority: High
spire-combat-spec.md §11 Known Gaps:
EnemyState.armor,MODIFIER_CONFIG.armoredexist but not appliedEnemyState.barrier,MODIFIER_CONFIG.mage/shieldexist but not appliedEnemyState.dodgeChance,MODIFIER_CONFIG.agileexist but not appliedMODIFIER_CONFIG.mage.barrierRechargeRateexists but not tickedSpellDefinition.aoEflag exists but distribution logic incompleteGuardianDef.armorexists but not checked in pipelineThe spire-combat-spec §5.2 fully defines the damage reduction order:
And §5.3 defines the guardian defensive pipeline. But none of this is actually wired into the runtime.
Recommendation: Implement the enemy defense pipeline as specified in spire-combat-spec §5.2 and §5.3. Connect armor, barrier, dodge, and melee attacks to the combat tick.
ultimate truth: investigate if it has been added, and create a gitea issue if it hasn't (and update specs)
PARTIALLY RESOLVED — Created new Gitea issue #285 for the melee defense bypass bug. The
applyEnemyDefensesfunction is fully implemented but melee attacks passenemy: null, bypassing all defenses. Spells and DoTs work correctly.✅ RESOLVED — Created new Gitea issue #285 for the melee defense bypass bug. applyEnemyDefenses is fully implemented but melee attacks pass enemy: null, bypassing all defenses. Spells and DoTs work correctly. Root cause identified in combat-actions.ts.