A way of NPC Following has been released, so use that.
Then use the getDistance method to check if the player is 12 or more spaces away from the NPC, and if he is, the NPC's attack is reset.
Use the newNPC method to spawn the NPC when you click on the casket.
Once the NPC dies, it shouldn't respawn because its not in the NPCSpawn and it doesn't have any respawn delays.




