diff --git a/game/db.py b/game/db.py index a7951994..17648057 100644 --- a/game/db.py +++ b/game/db.py @@ -65,7 +65,8 @@ PRICES = { # heli Ka_50: 13, - UH_1H: 5, + SA342M: 8, + UH_1H: 4, Mi_8MT: 5, # special @@ -158,6 +159,7 @@ UNIT_BY_TASK = { Su_25T, Su_34, Ka_50, + SA342M, ], Transport: [ @@ -264,6 +266,7 @@ UNIT_BY_COUNTRY = { A_50, Ka_50, + SA342M, UH_1H, Mi_8MT, @@ -303,6 +306,7 @@ UNIT_BY_COUNTRY = { E_3A, Ka_50, + SA342M, UH_1H, Mi_8MT, @@ -324,6 +328,7 @@ UNIT_BY_COUNTRY = { CARRIER_TYPE_BY_PLANE = { FA_18C_hornet: CVN_74_John_C__Stennis, Ka_50: LHA_1_Tarawa, + SA342M: LHA_1_Tarawa, UH_1H: LHA_1_Tarawa, Mi_8MT: LHA_1_Tarawa, AV8BNA: LHA_1_Tarawa, diff --git a/game/game.py b/game/game.py index ba54dc8d..7de3101d 100644 --- a/game/game.py +++ b/game/game.py @@ -58,14 +58,14 @@ EVENT_PROBABILITIES = { InfantryTransportEvent: [25, 0], # events conditionally present; for both enemy and player - BaseAttackEvent: [100, 5], + BaseAttackEvent: [100, 8], # events randomly present; for both enemy and player - InterceptEvent: [25, 5], - NavalInterceptEvent: [25, 5], + InterceptEvent: [25, 8], + NavalInterceptEvent: [25, 8], # events randomly present; only for the enemy - InsurgentAttackEvent: [0, 4], + InsurgentAttackEvent: [0, 5], } # amount of strength player bases recover for the turn diff --git a/game/operation/frontlineattack.py b/game/operation/frontlineattack.py index 2d8d8675..d8b11c86 100644 --- a/game/operation/frontlineattack.py +++ b/game/operation/frontlineattack.py @@ -44,7 +44,7 @@ class FrontlineAttackOperation(Operation): heli_flights = {k: v for k, v in self.strikegroup.items() if k in helicopters.helicopter_map.values()} if heli_flights: - self.briefinggen.append_frequency("FARP", "127.5 MHz AM") + self.briefinggen.append_frequency("FARP + Heli flights", "127.5 MHz AM") for farp, dict in zip(self.groundobjectgen.generate_farps(sum([x[0] for x in heli_flights.values()])), db.assignedunits_split_to_count(heli_flights, self.groundobjectgen.FARP_CAPACITY)): self.airgen.generate_cas_strikegroup(*assigned_units_split(dict), diff --git a/gen/aircraft.py b/gen/aircraft.py index d5237163..70aed59e 100644 --- a/gen/aircraft.py +++ b/gen/aircraft.py @@ -112,7 +112,12 @@ class AircraftConflictGenerator: group.units[idx].set_client() group.points[0].tasks.append(OptReactOnThreat(OptReactOnThreat.Values.EvadeFire)) - group.set_frequency(251.0) + + if unit_type in helicopters.helicopter_map.values(): + print(unit_type) + group.set_frequency(127.5) + else: + group.set_frequency(251.0) def _generate_at_airport(self, name: str, side: Country, unit_type: FlyingType, count: int, client_count: int, airport: Airport = None) -> FlyingGroup: assert count > 0