fixes to convoy strikes; UI updates; don't generate helis for enemy

This commit is contained in:
Vasyl Horbachenko
2018-11-06 04:06:59 +02:00
parent 7842c69ebb
commit fbbe56f954
7 changed files with 67 additions and 131 deletions

View File

@@ -327,11 +327,15 @@ class Conflict:
if not frontline_position:
assert False
heading = _heading_sum(frontline_heading, +45)
starting_position = Conflict._find_ground_position(frontline_position.point_from_heading(heading, 15000),
heading = frontline_heading
starting_position = Conflict._find_ground_position(frontline_position.point_from_heading(heading, 7000),
GROUND_INTERCEPT_SPREAD,
_opposite_heading(heading), theater)
destination_position = frontline_position
if not starting_position:
starting_position = frontline_position
destination_position = frontline_position
else:
destination_position = frontline_position
return cls(
position=destination_position,