GravestoneofSirXantille.lua 494 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/Graveyard/GravestoneofSirXantille.lua
  3. Script Purpose : Gravestone of Sir Xantille
  4. Script Author : Scatman
  5. Script Date : 2009.07.09
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. SetRequiredQuest(NPC, 231, 5)
  10. end
  11. function hailed(NPC, Spawn)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function casted_on(Target, Caster)
  17. if HasQuest(Caster, 231) and not QuestStepIsComplete(Caster, 231, 5) then
  18. --TODO: Display popup
  19. SetStepComplete(Caster, 231, 5)
  20. end
  21. end