aSabertoothguard.lua 747 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/Blackburrow/aSabertoothguard.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.07.11 06:07:48
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. AddTimer(NPC,1000,"VoiceBox")
  10. end
  11. function VoiceBox(NPC)
  12. local choice = MakeRandomInt(1,4)
  13. if choice == 1 then
  14. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGnoll1.lua")
  15. elseif choice == 2 then
  16. dofile("SpawnScripts/Generic/MonsterCallouts/SabertoothGnoll1.lua")
  17. elseif choice == 3 then
  18. dofile("SpawnScripts/Generic/MonsterCallouts/SabertoothGnoll2.lua")
  19. else
  20. dofile("SpawnScripts/Generic/MonsterCallouts/SabertoothGnoll3.lua")
  21. end
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end