mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Refactor
This commit is contained in:
parent
26066ef8f4
commit
febc901518
@ -16,12 +16,10 @@ class StrikeIngressBuilder(PydcsWaypointBuilder):
|
||||
def add_tasks(self, waypoint: MovingPoint) -> None:
|
||||
bomber = self.group.units[0].unit_type in [B_17G, Tu_22M3]
|
||||
bomber_guided = self.group.units[0].unit_type in [B_1B, B_52H]
|
||||
waypoint.tasks.append(OptFormation.finger_four_open())
|
||||
if bomber_guided or not bomber:
|
||||
waypoint.tasks.append(OptFormation.finger_four_open())
|
||||
self.add_strike_tasks(waypoint, WeaponType.ASM)
|
||||
|
||||
waypoint.tasks.append(OptFormation.trail_open())
|
||||
if bomber_guided or not bomber:
|
||||
waypoint.tasks.append(OptFormation.trail_open())
|
||||
self.add_strike_tasks(waypoint, WeaponType.GuidedBombs)
|
||||
|
||||
waypoint.tasks.append(OptFormation.ww2_bomber_element_close())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user