9
3

aBlackshieldbrute.lua 616 B

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/aBlackshieldbrute.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.01.04 03:01:53
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. race(NPC)
  12. IdleAggressive(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)
  21. setrace = MakeRandomInt(1,2)
  22. if setrace == 1 then
  23. human(NPC)
  24. elseif setrace == 2 then
  25. halfelf(NPC)
  26. end
  27. end