fix(combat): persist death and retarget on kill

Keep the velocity-only NPC adaptation inside the locomotion family so authoritative Dead motion remains persistent. Route selection clears through a dedicated combat target controller that reacquires the closest eligible creature when retail Auto Target conditions apply.

Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
Erik 2026-07-12 09:19:38 +02:00
parent 5276a83087
commit 9b97102c67
10 changed files with 281 additions and 19 deletions

View file

@ -19,6 +19,7 @@ public enum SelectionChangeReason
Selected,
Cleared,
SelectedObjectRemoved,
CombatTargetDied,
PreviousSelection,
}