adeadsarnakscout.lua 456 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : <script-name>
  3. Script Purpose : <purpose>
  4. Script Author : <author-name>
  5. Script Date : <date>
  6. Script Notes : <special-instructions>
  7. --]]
  8. function spawn(NPC)
  9. SetRequiredQuest(NPC, 127, 1)
  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, 127) and GetQuestStep(Caster, 127) == 1 then
  18. SetStepComplete(Caster, 127, 1)
  19. end
  20. end