amorakdevourer1587720.lua 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer1587720.lua
  3. Script Purpose : Waypoint Path for amorakdevourer1587720.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:10:10
  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. SpawnSet(NPC, "hp", 110)
  13. SpawnSet(NPC, "power", 55)
  14. end
  15. waypoints(NPC)
  16. end
  17. function hailed(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 232.82, -1.14, -120.21, 2, math.random(14, 25))
  25. MovementLoopAddLocation(NPC, 247.2, 0.1, -82.83, 2, math.random(14, 25))
  26. MovementLoopAddLocation(NPC, 251.36, 0, -83.53, 2, 0)
  27. MovementLoopAddLocation(NPC, 260, -1.02, -78.61, 2, 0)
  28. MovementLoopAddLocation(NPC, 276.3, -1.57, -64.24, 2, math.random(14, 25))
  29. MovementLoopAddLocation(NPC, 274.69, -1.57, -59.35, 2, 0)
  30. MovementLoopAddLocation(NPC, 269.09, -1.71, -56.06, 2, 0)
  31. MovementLoopAddLocation(NPC, 263.23, -1.74, -54.6, 2, math.random(14, 25))
  32. MovementLoopAddLocation(NPC, 261.8, -1.52, -63.9, 2, 0)
  33. MovementLoopAddLocation(NPC, 256.15, -1.5, -73, 2, 0)
  34. MovementLoopAddLocation(NPC, 254.34, -0.65, -79.64, 2, 0)
  35. MovementLoopAddLocation(NPC, 252.27, -0.35, -84.44, 2, 0)
  36. MovementLoopAddLocation(NPC, 249.72, -0.9, -93, 2, 0)
  37. MovementLoopAddLocation(NPC, 242.15, -1, -100.26, 2, 0)
  38. MovementLoopAddLocation(NPC, 239.31, -1.05, -105.29, 2, 0)
  39. MovementLoopAddLocation(NPC, 238.89, -1.33, -111.96, 2, 0)
  40. MovementLoopAddLocation(NPC, 240.79, -0.76, -116.66, 2, math.random(14, 25))
  41. MovementLoopAddLocation(NPC, 242.52, -0.89, -132.68, 2, math.random(14, 25))
  42. MovementLoopAddLocation(NPC, 234.43, -0.83, -130.51, 2, math.random(14, 25))
  43. MovementLoopAddLocation(NPC, 237.02, -1.11, -124.52, 2, math.random(14, 25))
  44. MovementLoopAddLocation(NPC, 238.66, -0.85, -133.28, 2, math.random(14, 25))
  45. MovementLoopAddLocation(NPC, 239.5, -0.85, -127.82, 2, 0)
  46. MovementLoopAddLocation(NPC, 239.04, -1, -107.26, 2, 0)
  47. MovementLoopAddLocation(NPC, 240.18, -0.92, -103.32, 2, 0)
  48. MovementLoopAddLocation(NPC, 245.27, -0.88, -94.29, 2, math.random(14, 25))
  49. MovementLoopAddLocation(NPC, 247.92, -0.58, -88.3, 2, 0)
  50. MovementLoopAddLocation(NPC, 255.37, -1.19, -76.51, 2, math.random(14, 25))
  51. MovementLoopAddLocation(NPC, 259.51, -1.51, -65.72, 2, math.random(14, 25))
  52. MovementLoopAddLocation(NPC, 256.32, -1.5, -67, 2, 0)
  53. MovementLoopAddLocation(NPC, 251.97, -1.29, -74.94, 2, 0)
  54. MovementLoopAddLocation(NPC, 249.78, -0.32, -86.49, 2, 0)
  55. MovementLoopAddLocation(NPC, 239.16, -1.12, -105.13, 2, 0)
  56. end