Updated attack so that it goes with the animation