Command seam, player: the Previous and NearestEnemy pins start from no target, where no other verb gives their answer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d8a4e1567d
commit
b180fd732d
1 changed files with 5 additions and 2 deletions
|
|
@ -69,11 +69,14 @@ public sealed partial class RunStartTests
|
|||
arena.Update(SeamDt);
|
||||
Assert.Same(third, east.Target.Value.Entity);
|
||||
|
||||
// With nothing held, Previous picks the farthest and Next the nearest.
|
||||
east.SetTarget(TargetRef.None);
|
||||
east.Command.Verb(TargetVerb.Previous);
|
||||
arena.Update(SeamDt);
|
||||
Assert.Same(west, east.Target.Value.Entity);
|
||||
Assert.Same(third, east.Target.Value.Entity);
|
||||
|
||||
// Enemies only: the farther hostile, not the nearer neutral.
|
||||
// Enemies only: the farther hostile, not the nearer neutral (Next, from nothing, would pick the neutral).
|
||||
east.SetTarget(TargetRef.None);
|
||||
east.SetIff(third, true);
|
||||
east.Command.Verb(TargetVerb.NearestEnemy);
|
||||
arena.Update(SeamDt);
|
||||
|
|
|
|||
Loading…
Reference in a new issue