Added collision avoidance and base for friendly fire avoidance to AI