NPC utility queries (#15843)
This commit is contained in:
@@ -143,6 +143,9 @@ public sealed partial class NPCCombatSystem
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: When I get parallel operators move this as NPC combat shouldn't be handling this.
|
||||
_steering.Register(uid, new EntityCoordinates(component.Target, Vector2.Zero), steering);
|
||||
|
||||
if (distance > weapon.Range)
|
||||
{
|
||||
component.Status = CombatStatus.TargetOutOfRange;
|
||||
|
||||
Reference in New Issue
Block a user