9
3

quest_germain_scout_tree.lua 603 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/ForestRuins/quest_germain_scout_tree.lua
  3. Script Purpose : quest_tree_Gather_Leaf
  4. Script Author : <author-name>
  5. Script Date : <date>
  6. Script Notes : News for Germain tree
  7. --]]
  8. local QUEST_FROM_GERMAIN = 520
  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