Add a new engagement rule: engage distant enemies without moving.
NPCs under this rule will not move except to clear line of sight
of allies and will shoot at any hostile monster within their
weapon's effective range.
Repurpose the code that checks if a reach weapon is obstructed to
check if the line of fire to a target is clear. If it isn't
clear, don't shoot it.
Add a new engagement rule: engage distant enemies without moving. NPCs under this rule will not move except to clear line of sight of allies and will shoot at any hostile monster within their weapon's effective range.
Repurpose the code that checks if a reach weapon is obstructed to check if the line of fire to a target is clear. If it isn't clear, don't shoot it.
Summary
Purpose of change
Describe the solution
Describe alternatives you've considered
Additional context