anchor.diff:  
   		else if(istype(A, /obj/machinery/power/grounding_rod))
   			var/dist = get_dist(source, A)-2
  -			if(dist < closest_dist || !closest_grounding_rod)
  +			if(dist <= zap_range && (dist < closest_dist || !closest_grounding_rod))
   				closest_grounding_rod = A
   				closest_atom = A
   				closest_dist = dist
  
positive.code: 		else if(istype(A, /mob/living))
  			var/dist = get_dist(source, A)
  			var/mob/living/L = A
  			if((dist < closest_dist || !closest_mob) && L.stat != DEAD)
  				closest_mob = L
  				closest_atom = A
  				closest_dist = dist
  
negative.code: 		else if(istype(A, /obj/structure))
  			var/obj/structure/S = A
  			var/dist = get_dist(source, A)
  			if(dist <= zap_range && (dist < closest_dist || !closest_tesla_coil) && !S.being_shocked)
  				closest_structure = S
  				closest_atom = A
  				closest_dist = dist
  