Werewolves can not attack if the transformation happens during attack
Steps to reproduce:
- Spawn a werewolf
player->placeatme bm_werewolf_wild05 1 128 0
- When he starts combat, try to switch between day and night several times:
set gamehour to 12
set gamehour to 23
As a result, sometimes werewolf can not attack the target after transformation. It happens because during transformation we change an animation set for NPC, disable all active animations, but do not reset an attack state, so the CharacterController endlessly waits for end of already disabled animations.