aRyGorrambusher.lua 583 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/aRyGorrambusher.lua
  3. Script Purpose : for the spawns "a RyGorr ambusher"
  4. Script Author : theFoof
  5. Script Date : 2013.5.10
  6. Script Notes :
  7. --]]
  8. local FlameOn = 5
  9. function spawn(NPC)
  10. end
  11. function death(NPC, Spawn) -- updates step 2 of "Flame On!" when the encounter is killed.
  12. if not IsAlive(GetTempVariable(NPC, "other_orc")) then
  13. SetStepComplete(Spawn, FlameOn, 2)
  14. end
  15. SetTempVariable(NPC, "other_orc", nil)
  16. end
  17. function CombatReset(NPC)
  18. Despawn(NPC)
  19. SetTempVariable(NPC, "other_orc", nil)
  20. end