agrimecoveredsavagechopper.lua 688 B

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/Antonica/agrimecoveredsavagechopper.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.05.16 05:05:59
  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 respawn(NPC, Spawn)
  20. spawn(NPC)
  21. end
  22. function hailed(NPC, Spawn)
  23. if IsInCombat(NPC)== false then
  24. FaceTarget(NPC, Spawn)
  25. Attack(NPC,Spawn)
  26. end
  27. end