9
3

avelinoidseeker.lua 584 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/avelinoidseeker.lua
  3. Script Purpose : for the spawn "a velinoid seeker"
  4. Script Author : theFoof
  5. Script Date : 2013.6.13
  6. Script Notes :
  7. --]]
  8. local GoodDistraction = 61
  9. function spawn(NPC)
  10. end
  11. function death(NPC, Spawn)
  12. if not IsAlive(GetTempVariable(NPC, "linked")) then
  13. if GetQuestStep(Spawn, GoodDistraction) == 2 then
  14. SetStepComplete(Spawn, GoodDistraction, 2)
  15. elseif GetQuestStep(Spawn, GoodDistraction) == 4 then
  16. SetStepComplete(Spawn, GoodDistraction, 4)
  17. end
  18. end
  19. SetTempVariable(NPC, "linked", nil)
  20. end