aSabertoothlooter.lua 738 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/ThunderingSteppes/aSabertoothlooter.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.03.22 04:03:51
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. ChooseClass(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function ChooseClass(NPC, Spawn)
  20. SetClass = MakeRandomInt(1,2)
  21. if SetClass == 1 then
  22. SpawnSet(NPC, "class", 3) -- Guardian
  23. --Set spell list here
  24. elseif SetClass == 2 then
  25. SpawnSet(NPC, "class", 4) -- Berserker
  26. --Set spell list here
  27. end
  28. end