aSabertoothoracle.lua 611 B

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