added attacking to the Flying Ai Component