9
3

GravestoneofSirBreel.lua 488 B

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