malefic_arachnid7.lua 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. --[[
  2. Script Name : malefic_arachnid7.lua
  3. Script Purpose : Waypoint Path for malefic_arachnid7.lua
  4. Script Author : Devn00b
  5. Script Date : 05/13/2020 01:14:29 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 = 6
  11. local level2 = 7
  12. local difficulty1 = 6
  13. local hp1 = 150
  14. local power1 = 150
  15. local difficulty2 = 6
  16. local hp2 = 215
  17. local power2 = 215
  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. waypoints(NPC)
  35. end
  36. function waypoints(NPC)
  37. MovementLoopAddLocation(NPC, -121.38, -0.08, -175.1, 2, 0)
  38. MovementLoopAddLocation(NPC, -120.75, -0.05, -168.57, 2, 0)
  39. MovementLoopAddLocation(NPC, -121.65, -0.04, -161.68, 2, 0)
  40. MovementLoopAddLocation(NPC, -118.32, -0.12, -161.47, 2, 0)
  41. MovementLoopAddLocation(NPC, -119.16, -0.11, -167.72, 2, 0)
  42. MovementLoopAddLocation(NPC, -108.21, -0.04, -168.02, 2, 0)
  43. MovementLoopAddLocation(NPC, -104.66, -0.08, -172.21, 2, 0)
  44. MovementLoopAddLocation(NPC, -105.1, -0.11, -176.8, 2, 0)
  45. MovementLoopAddLocation(NPC, -109.96, -0.03, -182.21, 2, 0)
  46. MovementLoopAddLocation(NPC, -109.81, 0.13, -186.23, 2, 0)
  47. MovementLoopAddLocation(NPC, -109.61, 0, -191.93, 2, 0)
  48. MovementLoopAddLocation(NPC, -116.61, 0, -191.65, 2, 0)
  49. MovementLoopAddLocation(NPC, -105.08, 0, -193.99, 2, 0)
  50. MovementLoopAddLocation(NPC, -109.11, 0, -191.88, 2, 0)
  51. MovementLoopAddLocation(NPC, -109.45, -0.05, -185.69, 2, 0)
  52. MovementLoopAddLocation(NPC, -108.12, -0.1, -181.02, 2, 0)
  53. MovementLoopAddLocation(NPC, -104.01, -0.09, -172.29, 2, 0)
  54. MovementLoopAddLocation(NPC, -112.52, 0.36, -166.46, 2, 0)
  55. MovementLoopAddLocation(NPC, -120.2, -0.09, -166.9, 2, 0)
  56. MovementLoopAddLocation(NPC, -119.98, 0.43, -151.79, 2, 0)
  57. MovementLoopAddLocation(NPC, -116.96, -0.08, -157.47, 2, 0)
  58. MovementLoopAddLocation(NPC, -122.34, -0.04, -158.13, 2, 0)
  59. MovementLoopAddLocation(NPC, -120.91, 0.09, -153.69, 2, 0)
  60. MovementLoopAddLocation(NPC, -121.26, -0.05, -161.63, 2, 0)
  61. MovementLoopAddLocation(NPC, -122.45, -0.08, -166.77, 2, 0)
  62. MovementLoopAddLocation(NPC, -117, 0.02, -172.84, 2, 0)
  63. MovementLoopAddLocation(NPC, -120.4, 0.46, -180.73, 2, 0)
  64. MovementLoopAddLocation(NPC, -127.32, -0.08, -182.81, 2, 0)
  65. MovementLoopAddLocation(NPC, -129.42, -0.07, -179.64, 2, 0)
  66. MovementLoopAddLocation(NPC, -125.26, -0.07, -183.96, 2, 0)
  67. MovementLoopAddLocation(NPC, -126.01, -0.09, -179.03, 2, 0)
  68. MovementLoopAddLocation(NPC, -121.64, 0.54, -180.61, 2, 0)
  69. MovementLoopAddLocation(NPC, -116.76, -0.08, -169.11, 2, 0)
  70. MovementLoopAddLocation(NPC, -106.6, -0.03, -167.39, 2, 0)
  71. MovementLoopAddLocation(NPC, -109.74, -0.07, -171.74, 2, 0)
  72. MovementLoopAddLocation(NPC, -106.98, -0.06, -169.39, 2, 0)
  73. MovementLoopAddLocation(NPC, -103.48, -0.06, -174.56, 2, 0)
  74. MovementLoopAddLocation(NPC, -108.21, -0.09, -176.57, 2, 0)
  75. MovementLoopAddLocation(NPC, -105.49, -0.05, -180.54, 2, 0)
  76. MovementLoopAddLocation(NPC, -104.14, -0.09, -172.29, 2, 0)
  77. MovementLoopAddLocation(NPC, -111.89, 0.34, -167.88, 2, 0)
  78. MovementLoopAddLocation(NPC, -120.51, -0.06, -168.28, 2, 0)
  79. MovementLoopAddLocation(NPC, -111.89, 0.34, -167.88, 2, 0)
  80. MovementLoopAddLocation(NPC, -104.14, -0.09, -172.29, 2, 0)
  81. MovementLoopAddLocation(NPC, -105.49, -0.05, -180.54, 2, 0)
  82. MovementLoopAddLocation(NPC, -108.21, -0.09, -176.57, 2, 0)
  83. MovementLoopAddLocation(NPC, -103.48, -0.06, -174.56, 2, 0)
  84. MovementLoopAddLocation(NPC, -106.98, -0.06, -169.39, 2, 0)
  85. MovementLoopAddLocation(NPC, -109.74, -0.07, -171.74, 2, 0)
  86. MovementLoopAddLocation(NPC, -106.6, -0.03, -167.39, 2, 0)
  87. MovementLoopAddLocation(NPC, -116.76, -0.08, -169.11, 2, 0)
  88. MovementLoopAddLocation(NPC, -121.64, 0.54, -180.61, 2, 0)
  89. MovementLoopAddLocation(NPC, -126.01, -0.09, -179.03, 2, 0)
  90. MovementLoopAddLocation(NPC, -125.26, -0.07, -183.96, 2, 0)
  91. MovementLoopAddLocation(NPC, -129.42, -0.07, -179.64, 2, 0)
  92. MovementLoopAddLocation(NPC, -127.32, -0.08, -182.81, 2, 0)
  93. MovementLoopAddLocation(NPC, -120.4, 0.46, -180.73, 2, 0)
  94. MovementLoopAddLocation(NPC, -117, 0.02, -172.84, 2, 0)
  95. MovementLoopAddLocation(NPC, -122.45, -0.08, -166.77, 2, 0)
  96. MovementLoopAddLocation(NPC, -121.26, -0.05, -161.63, 2, 0)
  97. MovementLoopAddLocation(NPC, -120.91, 0.09, -153.69, 2, 0)
  98. MovementLoopAddLocation(NPC, -122.34, -0.04, -158.13, 2, 0)
  99. MovementLoopAddLocation(NPC, -116.96, -0.08, -157.47, 2, 0)
  100. MovementLoopAddLocation(NPC, -119.98, 0.43, -151.79, 2, 0)
  101. MovementLoopAddLocation(NPC, -120.2, -0.09, -166.9, 2, 0)
  102. MovementLoopAddLocation(NPC, -112.52, 0.36, -166.46, 2, 0)
  103. MovementLoopAddLocation(NPC, -104.01, -0.09, -172.29, 2, 0)
  104. MovementLoopAddLocation(NPC, -108.12, -0.1, -181.02, 2, 0)
  105. MovementLoopAddLocation(NPC, -109.45, -0.05, -185.69, 2, 0)
  106. MovementLoopAddLocation(NPC, -109.11, 0, -191.88, 2, 0)
  107. MovementLoopAddLocation(NPC, -105.08, 0, -193.99, 2, 0)
  108. MovementLoopAddLocation(NPC, -116.61, 0, -191.65, 2, 0)
  109. MovementLoopAddLocation(NPC, -109.61, 0, -191.93, 2, 0)
  110. MovementLoopAddLocation(NPC, -109.81, 0.13, -186.23, 2, 0)
  111. MovementLoopAddLocation(NPC, -109.96, -0.03, -182.21, 2, 0)
  112. MovementLoopAddLocation(NPC, -105.1, -0.11, -176.8, 2, 0)
  113. MovementLoopAddLocation(NPC, -104.66, -0.08, -172.21, 2, 0)
  114. MovementLoopAddLocation(NPC, -108.21, -0.04, -168.02, 2, 0)
  115. MovementLoopAddLocation(NPC, -119.16, -0.11, -167.72, 2, 0)
  116. MovementLoopAddLocation(NPC, -118.32, -0.12, -161.47, 2, 0)
  117. MovementLoopAddLocation(NPC, -121.65, -0.04, -161.68, 2, 0)
  118. MovementLoopAddLocation(NPC, -120.75, -0.05, -168.57, 2, 0)
  119. MovementLoopAddLocation(NPC, -121.38, -0.08, -175.1, 2, 0)
  120. end