ariverbankmushroom.lua 595 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/ariverbankmushroom.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.02.21 11:02:56
  5. Script Purpose :
  6. :
  7. --]]
  8. QUEST = 454
  9. function spawn(NPC)
  10. end
  11. function casted_on(NPC, Spawn, SpellName)
  12. if HasQuest(Spawn, QUEST) and GetQuestStep(Spawn, QUEST) == 1 or GetQuestStep(Spawn, QUEST) == 2 or GetQuestStep(SPAWN, QUEST) == 3 then
  13. if SpellName == 'Gathering' then
  14. AddStepProgress(Spawn, QUEST, 2, 1)
  15. Despawn(NPC)
  16. end
  17. end
  18. end
  19. function respawn(NPC)
  20. end