check attack range