GravestoneofSirArlin.lua 512 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/Graveyard/GravestoneofSirArlin.lua
  3. Script Purpose : Gravestone of Sir Arlin
  4. Script Author : Scatman
  5. Script Date : 2009.07.09
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. SetRequiredQuest(NPC, 231, 4)
  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, 4) then
  18. --TODO: Display popup
  19. SetStepComplete(Caster, 231, 4)
  20. end
  21. end