Force minimum altitude for launching decoys

This commit is contained in:
Raffson 2023-03-05 20:38:49 +01:00
parent 843bb30b99
commit 648fad33d8
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -52,6 +52,7 @@ class SeadIngressBuilder(PydcsWaypointBuilder):
weapon_type=DcsWeaponType.Decoy, weapon_type=DcsWeaponType.Decoy,
group_attack=True, group_attack=True,
expend=Expend.All, expend=Expend.All,
altitude=waypoint.alt
) )
waypoint.tasks.append(attack_task) waypoint.tasks.append(attack_task)