Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#53] Do Not Switch Turns if an Active Ability Blocks the End of Turn
This prevents the active character's turn from ending if they're in the middle of an attack. Without this logic, the turn would end as soon as the character is out of action points to spend, leading to inconsistent behavior during post-attack logic that depends on knowing who the active character is (e.g., shifting initiative on a knocked-out character to be right before the initiative of the character who knocked them out).
- Loading branch information