make ranged NPCs keep their distance