Raycast bug fixed.
Removed advanced attack AI. Only uses racast attack now.