Force SEAD into threat-range

This commit is contained in:
Raffson 2024-03-02 18:27:04 +01:00
parent aab8454fe6
commit 61b2d7c68e
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -491,7 +491,7 @@ class WaypointBuilder:
).meters
if target.strike_targets:
threat_range = (
1.1 * max([x.threat_range for x in target.strike_targets]).meters
0.8 * max([x.threat_range for x in target.strike_targets]).meters
)
hdg = target.position.heading_between_point(ingress)
hold = target.position.point_from_heading(