From 26066ef8f4a4b6d8c5b69d64fe02d7a0fa20239e Mon Sep 17 00:00:00 2001 From: Raffson Date: Sat, 20 Jan 2024 17:21:46 +0100 Subject: [PATCH] Adjust parameters for delaying ground-forces --- game/missiongenerator/flotgenerator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/game/missiongenerator/flotgenerator.py b/game/missiongenerator/flotgenerator.py index bb87ac37..7d2e7585 100644 --- a/game/missiongenerator/flotgenerator.py +++ b/game/missiongenerator/flotgenerator.py @@ -286,7 +286,7 @@ class FlotGenerator: if x.primary_task == FlightType.CAS ] return ( - timedelta(seconds=random.randint(300, 1800)) + timedelta(seconds=random.randint(150, 900)) if len(tots) == 0 else min( [ @@ -397,7 +397,7 @@ class FlotGenerator: Returns True if tasking was added, returns False if the stance was not a combat stance. """ duration = timedelta() - if stance != CombatStance.RETREAT: + if stance in [CombatStance.DEFENSIVE, CombatStance.AGGRESSIVE]: duration = self._earliest_tot_on_flot(not to_cp.coalition.player) self._set_reform_waypoint(dcs_group, forward_heading, duration) if stance == CombatStance.AGGRESSIVE: @@ -487,7 +487,7 @@ class FlotGenerator: Returns True if tasking was added, returns False if the stance was not a combat stance. """ duration = timedelta() - if stance != CombatStance.RETREAT: + if stance in [CombatStance.DEFENSIVE, CombatStance.AGGRESSIVE]: duration = self._earliest_tot_on_flot(not to_cp.coalition.player) self._set_reform_waypoint(dcs_group, forward_heading, duration) if stance in [