anetherotchanter.lua 758 B

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/TheThievesWay_Classic/anetherotchanter.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.12.02 04:12:04
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. race(NPC, Spawn)
  12. IdleAlert(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 race(NPC, Spawn)
  21. local race = MakeRandomInt(1,2)
  22. if race == 1 then
  23. ratonga(NPC)
  24. else
  25. erudite(NPC)
  26. SetEquipment(NPC, 6, 472 , 255, 255, 255, 255, 255, 255) --Gloves
  27. SetEquipment(NPC, 8, 470 , 255, 255, 255, 255, 255, 255) --Boots
  28. end
  29. end