abrinesifter.lua 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : SpawnScripts/Longshadow/abrinesifter.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.10.16 03:10:30
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/CombatModule"
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function waypoints(NPC)
  18. if GetSpawnLocationID(NPC)==133787088 then
  19. MovementLoopAddLocation(NPC, -49.07, -17.26, -112.17, 1, math.random(10,20))
  20. MovementLoopAddLocation(NPC, -52.76, -17.94, -103.60, 1, math.random(6,20))
  21. MovementLoopAddLocation(NPC, -53.88, -17.61, -109.86, 1, math.random(6,20))
  22. MovementLoopAddLocation(NPC, -47.11, -17.36, -105.66, 1, math.random(6,20))
  23. elseif GetSpawnLocationID(NPC)==133787089 then
  24. MovementLoopAddLocation(NPC,-60.76, -18.16, -107.26, 1, math.random(6,20))
  25. MovementLoopAddLocation(NPC, -62.21, -17.98, -100.15, 1, math.random(6,20))
  26. MovementLoopAddLocation(NPC, -68.03, -16.41, -103.28, 1, math.random(10,20))
  27. MovementLoopAddLocation(NPC,-58.41, -18.25, -103.04, 1, math.random(6,20))
  28. elseif GetSpawnLocationID(NPC)==133787090 then
  29. MovementLoopAddLocation(NPC, -55.81, -13.50, -69.65, 1, math.random(6,20))
  30. MovementLoopAddLocation(NPC, -61.08, -14.65, -76.12, 1, math.random(10,20))
  31. MovementLoopAddLocation(NPC, -58.91, -15.46, -81.00, 1, math.random(6,20))
  32. MovementLoopAddLocation(NPC, -60.19, -13.80, -68.21, 1, math.random(6,20))
  33. end
  34. end