general changes. Fixed a small bug where the attacking animation would get interrupted