9
3

aSabertoothtacticianSleep.lua 809 B

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/Blackburrow/aSabertoothtacticianSleep.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.05.10 08:05:33
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SpawnSet(NPC, "visual_state", 228)
  10. VoiceBox(NPC)
  11. end
  12. function VoiceBox(NPC)
  13. local choice = MakeRandomInt(1,2)
  14. if choice == 1 then
  15. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGnoll1.lua")
  16. elseif choice == 2 then
  17. dofile("SpawnScripts/Generic/MonsterCallouts/SabertoothGnoll3.lua")
  18. end
  19. end
  20. function hailed(NPC, Spawn)
  21. FaceTarget(NPC, Spawn)
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end
  26. function attacked(NPC, Spawn)
  27. SpawnSet(NPC, "visual_state", 0)
  28. end
  29. function aggro(NPC, Spawn)
  30. SpawnSet(NPC, "visual_state", 0)
  31. end