Include SEAD Sweep in common escorts

This commit is contained in:
Raffson
2023-07-10 22:04:39 +02:00
parent f76c8a80b5
commit 17211e1597
3 changed files with 4 additions and 5 deletions

View File

@@ -2,10 +2,10 @@ from __future__ import annotations
import itertools
import operator
import random
from abc import abstractmethod
from dataclasses import dataclass, field
from enum import IntEnum, auto, unique
import random
from typing import Generic, Iterator, Optional, TYPE_CHECKING, TypeVar, Union
from game.ato.flighttype import FlightType
@@ -112,6 +112,7 @@ class PackagePlanningTask(TheaterCommanderTask, Generic[MissionTargetT]):
def propose_common_escorts(self) -> None:
self.propose_flight(FlightType.SEAD_ESCORT, 2, EscortType.Sead)
self.propose_flight(FlightType.ESCORT, 2, EscortType.AirToAir)
self.propose_flight(FlightType.SEAD_SWEEP, 2, EscortType.Sead)
def iter_iads_ranges(
self, state: TheaterState, range_type: RangeType