Flight: a member that cannot see the engaged track steers on its bearing
The member kept Target to its own sensors but fell back to patrol while a flightmate fought; it now follows the engaged track as it followed the hailed one (ruling shared-track-bearing-only: a bearing, never targeting data). Builds: not yet verified at this commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e95116b670
commit
f91f658ad2
2 changed files with 19 additions and 1 deletions
|
|
@ -150,8 +150,10 @@ public class Flight
|
|||
return;
|
||||
}
|
||||
|
||||
// No engaged track in this member's own sensors: it steers on the flight's picture, a bearing and never targeting
|
||||
// data (ruling shared-track-bearing-only). That is the hailed and the complied, and an engaged track only a flightmate sees.
|
||||
Aim(ship, null);
|
||||
var held = picture.Where(e => _tracks[e].Phase == Phase.Hailing || _tracks[e].Phase == Phase.Complied).ToList();
|
||||
var held = picture.Where(e => _tracks[e].Phase != Phase.None).ToList();
|
||||
if (held.Count > 0)
|
||||
{
|
||||
var anchor = member.Agent.Task is FollowTask follow && held.Contains(follow.Anchor)
|
||||
|
|
|
|||
Loading…
Reference in a new issue