Only engage fighters with sweep.

This commit is contained in:
Dan Albert 2020-11-15 23:53:12 -08:00
parent d369ce8847
commit e361a857a4

View File

@ -1468,8 +1468,9 @@ class SweepIngressBuilder(PydcsWaypointBuilder):
f"{flight_plan_type} is not a sweep flight plan.")
return waypoint
waypoint.tasks.append(EngageTargets(max_distance=nm_to_meter(50),
targets=[Targets.All.Air]))
waypoint.tasks.append(EngageTargets(
max_distance=nm_to_meter(50),
targets=[Targets.All.Air.Planes.Fighters]))
return waypoint