9
3

abloodsaberseditionist.lua 829 B

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/Antonica/abloodsaberseditionist.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.07.14 10:07:47
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. ChooseClass(NPC)
  12. ratonga(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end
  20. function ChooseClass(NPC)
  21. SetClass = MakeRandomInt(1,2)
  22. if SetClass == 1 then
  23. SpawnSet(NPC,"class", 2)
  24. SetSpellList(NPC, 451)
  25. IdleAggressive(NPC)
  26. DervishChain(NPC)
  27. elseif SetClass == 2 then
  28. SpawnSet(NPC, "class", 32)
  29. SetSpellList(NPC, 469)
  30. IdleAlert(NPC)
  31. DervishLeather(NPC)
  32. end
  33. end