change state to attack