To fix Ardy knights or any npc from resetting you have to walk under them. If they are stuck on one square for more then 5 minutes it will re spawn walking under it allows it to clip through players that might be blocking it which would prevent it from re-spawning. So possibly a check if stuck variable that will walk under it if its in same spot for more then 2-3 minutes.