Remove ROE from SEAD Sweep to avoid engaging statics

This commit is contained in:
Raffson 2024-07-21 12:06:03 +02:00
parent e9d0273056
commit da64cdbab7
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -4,7 +4,6 @@ from dcs.task import (
ControlledTask,
EngageTargets,
Targets,
OptROE,
)
from game.utils import nautical_miles
@ -14,7 +13,6 @@ from .pydcswaypointbuilder import PydcsWaypointBuilder
class SeadSweepIngressBuilder(PydcsWaypointBuilder):
def add_tasks(self, waypoint: MovingPoint) -> None:
self.register_special_ingress_points()
waypoint.tasks.append(OptROE(value=OptROE.Values.OpenFireWeaponFree))
# Preemptively use ECM to better avoid getting swatted.
ecm_option = OptECMUsing(value=OptECMUsing.Values.UseIfDetectedLockByRadar)
waypoint.tasks.append(ecm_option)