While testing melee combat, we ran into a fun little edge case.
An enemy hit its death animation… but never quite got the memo that it was supposed to stop thinking.
Result: a technically dead AI, still fully committed to the fight.
This was a clean example of why animation state and gameplay state must always be hard-gated.
The fix was straightforward: once an AI enters the Dead state, all combat logic, movement, and targeting are immediately shut down.
These are exactly the kinds of edge cases we’re hunting down as we polish Stormbane’s combat and AI systems.
(And yes — the AI is now correctly dead.)
Source: Steam Community (opens in a new tab)
