amorakdevourer1587717.lua 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer1587717.lua
  3. Script Purpose : Waypoint Path for amorakdevourer1587717.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:09:55
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local level = GetLevel(NPC)
  10. if level == 4 then
  11. SpawnSet(NPC, "size", "28.8")
  12. end
  13. SpawnSet(NPC, "difficulty", "2")
  14. waypoints(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end
  22. function waypoints(NPC)
  23. MovementLoopAddLocation(NPC, 264.21, -1.5, -75.9, 2, math.random(14, 25))
  24. MovementLoopAddLocation(NPC, 264.42, -1.53, -70.37, 2, 0)
  25. MovementLoopAddLocation(NPC, 260.91, -1.55, -55.04, 2, math.random(14, 25))
  26. MovementLoopAddLocation(NPC, 260.96, -1.52, -63.07, 2, 0)
  27. MovementLoopAddLocation(NPC, 252.73, -0.7, -87.51, 2, math.random(14, 25))
  28. MovementLoopAddLocation(NPC, 278.02, -1.44, -58.06, 2, math.random(14, 25))
  29. MovementLoopAddLocation(NPC, 269.58, -1.6, -57.7, 2, 0)
  30. MovementLoopAddLocation(NPC, 258.92, -1.51, -66.93, 2, 0)
  31. MovementLoopAddLocation(NPC, 249.88, -1.48, -72.22, 2, math.random(14, 25))
  32. MovementLoopAddLocation(NPC, 257.7, -1.5, -72.26, 2, math.random(14, 25))
  33. MovementLoopAddLocation(NPC, 252.77, -0.56, -86.54, 2, 0)
  34. MovementLoopAddLocation(NPC, 248.72, -0.89, -92.79, 2, 0)
  35. MovementLoopAddLocation(NPC, 239.25, -1.39, -102.35, 2, 0)
  36. MovementLoopAddLocation(NPC, 234.29, -1.35, -117.87, 2, math.random(14, 25))
  37. MovementLoopAddLocation(NPC, 242.67, -0.87, -87.45, 2, math.random(14, 25))
  38. MovementLoopAddLocation(NPC, 247.66, -0.17, -79.48, 2, 0)
  39. MovementLoopAddLocation(NPC, 264.23, -1.53, -60.12, 2, math.random(14, 25))
  40. MovementLoopAddLocation(NPC, 261.11, -1.52, -64.59, 2, 0)
  41. MovementLoopAddLocation(NPC, 251.31, -1.48, -72.22, 2, math.random(14, 25))
  42. end