aRyGorrtunneler.lua 576 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : FrostfangSea/SpawnScripts/aRyGorrtunneler.lua
  3. Script Purpose : Ry'Gorr tunnelers
  4. Script Author : theFoof
  5. Script Date : 2013.7.24
  6. Script Notes :
  7. --]]
  8. local BecomingOrcbane = 81
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. end
  17. function casted_on(NPC, Spawn, SpellName)
  18. if SpellName == "cadaver's dram" then
  19. if GetQuestStep(Spawn, BecomingOrcbane) == 1 then
  20. AddStepProgress(Spawn, BecomingOrcbane, 1, 1)
  21. KillSpawn(NPC, Spawn, 1)
  22. end
  23. end
  24. end