add the attack state and animation