aSabertoothchanter.lua 712 B

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