9
3

ahalasianreedplant.lua 553 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/ahalasianreedplant.lua
  3. Script Purpose : halasian reed plants
  4. Script Author : theFoof
  5. Script Date : 2013.9.2
  6. Script Notes :
  7. --]]
  8. local FrozenChowder = 88
  9. function spawn(NPC)
  10. SetRequiredQuest(NPC, FrozenChowder, 1)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function casted_on(NPC, Spawn, SpellName)
  16. if SpellName == 'a sprig of halasian reed' then
  17. if GetQuestStep(Spawn, FrozenChowder) == 1 then
  18. Despawn(NPC)
  19. SetStepComplete(Spawn, FrozenChowder, 1)
  20. end
  21. end
  22. end