agrimecoveredsavage.lua 680 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/Antonica/agrimecoveredsavage.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.07.12 10:07:53
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/HighwaymanAntonica.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. local RaceCheck = MakeRandomInt(1,2)
  13. if RaceCheck ==1 then
  14. human(NPC)
  15. else
  16. barbarian(NPC)
  17. end
  18. end
  19. function hailed(NPC, Spawn)
  20. if IsInCombat(NPC)== false then
  21. FaceTarget(NPC, Spawn)
  22. Attack(NPC,Spawn)
  23. end
  24. end
  25. function respawn(NPC)
  26. spawn(NPC)
  27. end