9
3

atimberclawgnoll.lua 713 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/Antonica/atimberclawgnoll.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.07.09 01:07:44
  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. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function ChooseClass(NPC)
  18. SetClass = MakeRandomInt(1,3)
  19. if SetClass== 1 or SetClass == 2 then
  20. SpawnSet(NPC, "class", 2)
  21. SetSpellList(NPC,451)
  22. elseif SetClass == 3 then
  23. SpawnSet(NPC, "class", 12)
  24. SetSpellList(NPC, 329)
  25. end
  26. end