I've been trying to make it so when a player exits a certain range of the mob, the npc exits combat form and stops attacking the player. But, it keeps on chasing the player no matter how far they go even in creative or after death.
Code:
OOR: Conditions: - Targetnotwithin 40 Skills: - threat{a=0} @Target - setstance{stance=o} @Self