9
3

burrower.lua 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. --[[
  2. Script Name : burrower.lua
  3. Script Purpose : Waypoint Path for burrower.lua
  4. Script Author : Devn00b
  5. Script Date : 05/10/2020 08:32:19 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 = 5
  11. local level2 = 6
  12. local difficulty1 = 6
  13. local hp1 = 130
  14. local power1 = 65
  15. local difficulty2 = 6
  16. local hp2 = 150
  17. local power2 = 80
  18. if Level == level1 then
  19. SpawnSet(NPC, "difficulty", difficulty1)
  20. SpawnSet(NPC, "hp", hp1)
  21. SpawnSet(NPC, "power", power1)
  22. elseif Level == level2
  23. then
  24. SpawnSet(NPC, "difficulty", difficulty2)
  25. SpawnSet(NPC, "hp", hp2)
  26. SpawnSet(NPC, "power", power2)
  27. end
  28. waypoints(NPC)
  29. end
  30. function hailed(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. end
  33. function respawn(NPC)
  34. spawn(NPC)
  35. end
  36. function waypoints(NPC)
  37. MovementLoopAddLocation(NPC, -12.18, -0.06, -51.92, 1, math.random(0,2))
  38. MovementLoopAddLocation(NPC, -9.51, -0.09, -49.89, 1, math.random(0,2))
  39. MovementLoopAddLocation(NPC, -15.05, -0.06, -51.26, 1, math.random(0,2))
  40. MovementLoopAddLocation(NPC, -17.27, 0.12, -47.91, 1, math.random(0,2))
  41. MovementLoopAddLocation(NPC, -10.9, 0.53, -52.98, 1, math.random(0,2))
  42. MovementLoopAddLocation(NPC, -2.79, -0.1, -59.82, 1, math.random(0,2))
  43. MovementLoopAddLocation(NPC, 7.88, -0.04, -57.73, 1, math.random(0,2))
  44. MovementLoopAddLocation(NPC, 1.22, -0.04, -62.93, 1, math.random(0,2))
  45. MovementLoopAddLocation(NPC, 0.97, -0.08, -57.24, 1, math.random(0,2))
  46. MovementLoopAddLocation(NPC, 15, -0.11, -60.8, 1, math.random(0,2))
  47. MovementLoopAddLocation(NPC, 21.34, 0.51, -67.77, 1, math.random(0,2))
  48. MovementLoopAddLocation(NPC, 18.62, -0.48, -74.79, 1, math.random(0,2))
  49. MovementLoopAddLocation(NPC, 23.89, -0.92, -77.83, 1, math.random(0,2))
  50. MovementLoopAddLocation(NPC, 19.3, -0.24, -86.25, 1, math.random(0,2))
  51. MovementLoopAddLocation(NPC, 22.91, 0.07, -87.14, 1, math.random(0,2))
  52. MovementLoopAddLocation(NPC, 23.44, 0.18, -95.11, 1, math.random(0,2))
  53. MovementLoopAddLocation(NPC, 13.87, 0.13, -104.19, 1, math.random(0,2))
  54. MovementLoopAddLocation(NPC, 11.42, 0.29, -101.65, 1, math.random(0,2))
  55. MovementLoopAddLocation(NPC, 21.33, 0.03, -99.6, 1, math.random(0,2))
  56. MovementLoopAddLocation(NPC, 17.99, 0.14, -94.94, 1, math.random(0,2))
  57. MovementLoopAddLocation(NPC, 23.07, 0.22, -95.19, 1, math.random(0,2))
  58. MovementLoopAddLocation(NPC, 24.51, 0.2, -90.25, 1, math.random(0,2))
  59. MovementLoopAddLocation(NPC, 20.12, 0.32, -89.3, 1, math.random(0,2))
  60. MovementLoopAddLocation(NPC, 23.84, -0.92, -78.08, 1, math.random(0,2))
  61. MovementLoopAddLocation(NPC, 20.12, 0.32, -89.3, 1, math.random(0,2))
  62. MovementLoopAddLocation(NPC, 24.51, 0.2, -90.25, 1, math.random(0,2))
  63. MovementLoopAddLocation(NPC, 23.07, 0.22, -95.19, 1, math.random(0,2))
  64. MovementLoopAddLocation(NPC, 17.99, 0.14, -94.94, 1, math.random(0,2))
  65. MovementLoopAddLocation(NPC, 21.33, 0.03, -99.6, 1, math.random(0,2))
  66. MovementLoopAddLocation(NPC, 11.42, 0.29, -101.65, 1, math.random(0,2))
  67. MovementLoopAddLocation(NPC, 13.87, 0.13, -104.19, 1, math.random(0,2))
  68. MovementLoopAddLocation(NPC, 23.44, 0.18, -95.11, 1, math.random(0,2))
  69. MovementLoopAddLocation(NPC, 22.91, 0.07, -87.14, 1, math.random(0,2))
  70. MovementLoopAddLocation(NPC, 19.3, -0.24, -86.25, 1, math.random(0,2))
  71. MovementLoopAddLocation(NPC, 23.89, -0.92, -77.83, 1, math.random(0,2))
  72. MovementLoopAddLocation(NPC, 18.62, -0.48, -74.79, 1, math.random(0,2))
  73. MovementLoopAddLocation(NPC, 21.34, 0.51, -67.77, 1, math.random(0,2))
  74. MovementLoopAddLocation(NPC, 15, -0.11, -60.8, 2, math.random(0,2))
  75. MovementLoopAddLocation(NPC, 0.97, -0.08, -57.24, 1, math.random(0,2))
  76. MovementLoopAddLocation(NPC, 1.22, -0.04, -62.93, 1, math.random(0,2))
  77. MovementLoopAddLocation(NPC, 7.88, -0.04, -57.73, 1, math.random(0,2))
  78. MovementLoopAddLocation(NPC, -2.79, -0.1, -59.82, 1, math.random(0,2))
  79. MovementLoopAddLocation(NPC, -10.9, 0.53, -52.98, 1, math.random(0,2))
  80. MovementLoopAddLocation(NPC, -17.27, 0.12, -47.91, 1, math.random(0,2))
  81. MovementLoopAddLocation(NPC, -15.05, -0.06, -51.26, 1, math.random(0,2))
  82. MovementLoopAddLocation(NPC, -9.51, -0.09, -49.89, 1, math.random(0,2))
  83. MovementLoopAddLocation(NPC, -12.18, -0.06, -51.92, 1, math.random(0,2))
  84. end