9
3

astockpileprotector.lua 611 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/Blackburrow/astockpileprotector.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.07.11 07:07:10
  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