mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Drop single bombs on statics again
This commit is contained in:
parent
0b40f872bf
commit
19daa1737e
@ -67,8 +67,6 @@ class StrikeIngressBuilder(PydcsWaypointBuilder):
|
|||||||
# If there is only one target, drop all ordnance in one pass.
|
# If there is only one target, drop all ordnance in one pass.
|
||||||
if len(self.waypoint.targets) == 1:
|
if len(self.waypoint.targets) == 1:
|
||||||
bombing.params["expend"] = Expend.All.value
|
bombing.params["expend"] = Expend.All.value
|
||||||
elif target.is_static:
|
|
||||||
bombing.params["expend"] = Expend.Half.value
|
|
||||||
waypoint.tasks.append(bombing)
|
waypoint.tasks.append(bombing)
|
||||||
|
|
||||||
waypoint.speed = mach(0.85, meters(waypoint.alt)).meters_per_second
|
waypoint.speed = mach(0.85, meters(waypoint.alt)).meters_per_second
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user