9
3

agrimecoveredsavageRoam.lua 746 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/Antonica/agrimecoveredsavageRoam.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.08.25 08:08:01
  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. RandomMovement(NPC, Spawn, 20, -20, 2, 8, 15)
  13. local RaceCheck = MakeRandomInt(1,2)
  14. if RaceCheck ==1 then
  15. human(NPC)
  16. else
  17. barbarian(NPC)
  18. end
  19. end
  20. function respawn(NPC, Spawn)
  21. spawn(NPC)
  22. end
  23. function hailed(NPC, Spawn)
  24. if IsInCombat(NPC)== false then
  25. FaceTarget(NPC, Spawn)
  26. Attack(NPC,Spawn)
  27. end
  28. end