9
3

aSabertoothexcavatorMining.lua 646 B

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/Blackburrow/aSabertoothexcavatorMining.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.04.26 09:04:36
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/SabertoothGnoll2.lua")
  9. function spawn(NPC)
  10. AddTimer(NPC,math.random(2500,6000),"AttackRocks")
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function AttackRocks(NPC)
  19. if not IsInCombat(NPC) then
  20. PlayAnimation(NPC,10784)
  21. end
  22. AddTimer(NPC, math.random(3000,6000), "AttackRocks")
  23. end