Back to News

fix: hold creatures at the leash edge instead of dropping in-range targets

•By Moh•changelogdawn
Changelog

- Drop the home-field check from Creature.CanPursueTarget so a target standing past the leash edge stays valid for acquisition, chase and attack

- Hold walking creatures at the home-field edge instead of clearing the target and walking back to spawn

- Shorten guard and patrol jumps to the edge through HomeFieldEdgeDistance and skip non-player jump landings outside the field

- Creatures still never leave their home field and only return after losing their target

- Add CreatureLeashTests for the edge hold, edge attacks and clamped guard jumps

- Update the monster characterization and pathfinding docs for the new leash rule