quest_germain_scout_tree.lua 525 B

1234567891011121314151617181920212223242526
  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. local QUEST_FROM_GERMAIN = 202
  9. function spawn(NPC)
  10. --SetRequiredQuest(NPC, QUEST_FROM_GERMAIN, 3)
  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_GERMAIN) and GetQuestStep(Caster, QUEST_FROM_GERMAIN) == 3 then
  19. SetStepComplete(Caster, QUEST_FROM_GERMAIN, 3)
  20. end
  21. end