private int CountSelectableByType(MissionSpotType missionSpotType, List <MissionSpot> spots) { return(spots.Count(s => s.type == missionSpotType && position.ToPoint().ToPosition().TotalDistance2D((Point)s.position.ToPoint()) > 0.5 && position.IsInRangeOf2D(s.position, s.findRadius) && _missionDataCache.IsTargetSelectionValid(Zone, position, s.position))); }