aMudpawguard1.lua 621 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/Caves/aMudpawguard1.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.10 04:10:02
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGnoll1.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. TheLook(NPC)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function TheLook(NPC)
  18. local choice = MakeRandomInt(1,2)
  19. if choice == 1 then
  20. SpawnSet(NPC,"model_type",3816)
  21. elseif choice ==2 then
  22. SpawnSet(NPC,"model_type",1384)
  23. end
  24. end