added attackreach variable
ai attacking