Fixed issues with attack delay and targeting.