minor bugfixes

This commit is contained in:
Vasyl Horbachenko
2018-09-11 05:55:05 +03:00
parent 12853feec3
commit afb084ebf8
5 changed files with 12 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ class AirSupportConflictGenerator:
plane_type=tanker_unit,
position=tanker_position,
altitude=TANKER_ALT,
frequency=240,
frequency=131,
start_type=StartType.Warm,
tacanchannel="99X",
)
@@ -49,6 +49,6 @@ class AirSupportConflictGenerator:
altitude=AWACS_ALT,
airport=None,
position=self.conflict.position.random_point_within(AWACS_DISTANCE, AWACS_DISTANCE),
frequency=244,
frequency=133,
start_type=StartType.Warm,
)

View File

@@ -79,6 +79,9 @@ class TriggersGenerator:
if player_cp.position.distance_to_point(group.position) > PUSH_TRIGGER_SIZE * 3:
continue
if group.units[0].is_human():
continue
regroup_heading = self.conflict.to_cp.position.heading_between_point(player_cp.position)
pos1 = group.position.point_from_heading(regroup_heading, REGROUP_ZONE_DISTANCE)