Turret AI sometimes considers raiding party members to be passive; doesn't fire when it should

Summary:
Sometimes raiding party members enter the range of a turret, and the turret tracks the hostile (it moves to keep aim as the hostile moves), but it does not fire, nor does the hostile take damage (no heart appears, etc).

Steps to reproduce:

  1. Place a turret on top of a crenelated building.
  2. Run a hostile raiding party within range.
  3. Observe that, most of the time, the turret works as intended, though occasionally, it will act as described in the summary. Anecdotally, I have noticed this seems to happen most when orcs sprint up to my town but then stop short of attacking anything and begin pacing as if no longer aggro.

Expected Results:
Turret fires reliably any time a hostile is in range.

Version Number and Mods in use:
A17 D3023 x64; save available upon request

1 Like