Adjust distance calculations for under-attack warnings.