9
3

GravestoneofSirAckmin.lua 623 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/Graveyard/GravestoneofSirAckmin.lua
  3. Script Purpose : Gravestone of Sir Ackmin
  4. Script Author : Scatman
  5. Script Date : 2009.07.25
  6. Script Notes :
  7. --]]
  8. local QUEST_FROM_GUARD = 252
  9. function spawn(NPC)
  10. SetRequiredQuest(NPC, QUEST_FROM_GUARD, 2)
  11. end
  12. function hailed(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function casted_on(Target, Caster)
  18. if HasQuest(Caster, QUEST_FROM_GUARD) and GetQuestStep(Caster, QUEST_FROM_GUARD) == 2 then
  19. -- TODO: Display visual effect over tomb and show popup
  20. SetStepComplete(Caster, QUEST_FROM_GUARD, 2)
  21. end
  22. end