9
3

atimberclawgnollRoam.lua 768 B

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/Antonica/atimberclawgnollRoam.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.03.27 10:03:45
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/CatalogueQuestUpdates.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. ChooseClass(NPC)
  13. RandomMovement(NPC, Spawn, 12, -12, 2, 8, 15)
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function ChooseClass(NPC)
  19. SetClass = MakeRandomInt(1,3)
  20. if SetClass== 1 or SetClass == 2 then
  21. SpawnSet(NPC, "class", 2)
  22. SetSpellList(NPC,451)
  23. elseif SetClass == 3 then
  24. SpawnSet(NPC, "class", 12)
  25. SetSpellList(NPC, 329)
  26. end
  27. end