9
3

shriller4.lua 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. --[[
  2. Script Name : shriller4.lua
  3. Script Purpose : Waypoint Path for shriller4.lua
  4. Script Author : Devn00b
  5. Script Date : 06/30/2020 07:09:40 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 =13
  11. local level2 = 14
  12. local difficulty1 = 6
  13. local hp1 = 680
  14. local power1 = 205
  15. local difficulty2 = 6
  16. local hp2 = 795
  17. local power2 = 240
  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. end
  35. function waypoints(NPC)
  36. MovementLoopAddLocation(NPC, 245.95, -7.05, -38.48, 2, math.random(0,15))
  37. MovementLoopAddLocation(NPC, 245.02, -6.76, -50.92, 2, 0)
  38. MovementLoopAddLocation(NPC, 237.73, -6.49, -62.28, 2, 0)
  39. MovementLoopAddLocation(NPC, 237.39, -6.86, -79.89, 2, 0)
  40. MovementLoopAddLocation(NPC, 246.31, -6.86, -79.1, 2, 0)
  41. MovementLoopAddLocation(NPC, 246.83, -6.86, -104.98, 2, 0)
  42. MovementLoopAddLocation(NPC, 243.22, -6.86, -119.91, 2, math.random(0,15))
  43. MovementLoopAddLocation(NPC, 242.82, -6.86, -133.61, 2, 0)
  44. MovementLoopAddLocation(NPC, 241.12, -6.86, -139.71, 2, 0)
  45. MovementLoopAddLocation(NPC, 234.87, -6.86, -148.42, 2, 0)
  46. MovementLoopAddLocation(NPC, 234.58, -6.86, -152.41, 2, 0)
  47. MovementLoopAddLocation(NPC, 242.04, -6.86, -152.8, 2, 0)
  48. MovementLoopAddLocation(NPC, 248.33, -6.86, -172.13, 2, 0)
  49. MovementLoopAddLocation(NPC, 249.22, -6.72, -176.85, 2, 0)
  50. MovementLoopAddLocation(NPC, 257.95, -7.06, -196.14, 2, 0)
  51. MovementLoopAddLocation(NPC, 253.79, -6.96, -202.76, 2, 0)
  52. MovementLoopAddLocation(NPC, 239.25, -7.16, -203.95, 2, 0)
  53. MovementLoopAddLocation(NPC, 223.01, -7.01, -202.54, 2, 0)
  54. MovementLoopAddLocation(NPC, 212.91, -7.09, -188.94, 2, 0)
  55. MovementLoopAddLocation(NPC, 210.65, -7.09, -183.45, 2, 0)
  56. MovementLoopAddLocation(NPC, 209.63, -6.98, -170.88, 2, 0)
  57. MovementLoopAddLocation(NPC, 198.51, -7, -164.92, 2, 0)
  58. MovementLoopAddLocation(NPC, 179.55, -6.98, -165.11, 2, 0)
  59. MovementLoopAddLocation(NPC, 173.39, -6.99, -169.24, 2, 0)
  60. MovementLoopAddLocation(NPC, 169.82, -7.07, -177.25, 2, 0)
  61. MovementLoopAddLocation(NPC, 169.44, -6.94, -186.47, 2, 0)
  62. MovementLoopAddLocation(NPC, 169.5, -7.08, -171.91, 2, 0)
  63. MovementLoopAddLocation(NPC, 176.7, -7.07, -166.14, 2, 0)
  64. MovementLoopAddLocation(NPC, 187.99, -7.03, -164.29, 2, 0)
  65. MovementLoopAddLocation(NPC, 200.03, -7.01, -165.03, 2, 0)
  66. MovementLoopAddLocation(NPC, 208.82, -7.02, -171.28, 2, 0)
  67. MovementLoopAddLocation(NPC, 209.87, -7.07, -185.65, 2, 0)
  68. MovementLoopAddLocation(NPC, 224.39, -6.98, -200.64, 2, 0)
  69. MovementLoopAddLocation(NPC, 232.67, -7.12, -203.34, 2, 0)
  70. MovementLoopAddLocation(NPC, 252.01, -6.98, -203.42, 2, 0)
  71. MovementLoopAddLocation(NPC, 256.26, -6.91, -200.53, 2, 0)
  72. MovementLoopAddLocation(NPC, 256.66, -7.02, -194.42, 2, 0)
  73. MovementLoopAddLocation(NPC, 250.04, -7.03, -178.46, 2, 0)
  74. MovementLoopAddLocation(NPC, 248.32, -6.86, -172.95, 2, 0)
  75. MovementLoopAddLocation(NPC, 237.82, -6.86, -172.91, 2, 0)
  76. MovementLoopAddLocation(NPC, 237.56, -6.86, -157.66, 2, 0)
  77. MovementLoopAddLocation(NPC, 234.54, -6.86, -152.61, 2, 0)
  78. MovementLoopAddLocation(NPC, 234.44, -6.86, -135.03, 2, 0)
  79. MovementLoopAddLocation(NPC, 242.24, -6.86, -135.11, 2, 0)
  80. MovementLoopAddLocation(NPC, 242.93, -6.66, -129.25, 2, 0)
  81. MovementLoopAddLocation(NPC, 242.78, -6.69, -122.14, 2, 0)
  82. MovementLoopAddLocation(NPC, 248.72, -6.86, -90.36, 2, 0)
  83. MovementLoopAddLocation(NPC, 244.3, -6.86, -86.18, 2, 0)
  84. MovementLoopAddLocation(NPC, 237.89, -6.8, -79.13, 2, 0)
  85. MovementLoopAddLocation(NPC, 236.67, -6.49, -63.6, 2, 0)
  86. MovementLoopAddLocation(NPC, 245.24, -6.51, -50.26, 2, 0)
  87. MovementLoopAddLocation(NPC, 245.86, -7.02, -38.93, 2, 0)
  88. MovementLoopAddLocation(NPC, 229.7, -6.91, -39.65, 2, 0)
  89. MovementLoopAddLocation(NPC, 213.1, -6.61, -55.2, 2, 0)
  90. MovementLoopAddLocation(NPC, 185.94, -6.99, -54.23, 2, 0)
  91. MovementLoopAddLocation(NPC, 178.87, -7.04, -45.63, 2, 0)
  92. MovementLoopAddLocation(NPC, 171.22, -7.01, -44.16, 2, 0)
  93. MovementLoopAddLocation(NPC, 168.4, -7.01, -40.38, 2, 0)
  94. MovementLoopAddLocation(NPC, 150.33, -7.01, -42.74, 2, 0)
  95. MovementLoopAddLocation(NPC, 141.21, -6.85, -44.99, 2, 0)
  96. MovementLoopAddLocation(NPC, 122.64, -2.47, -63.61, 2, 0)
  97. MovementLoopAddLocation(NPC, 96.13, 0.04, -62.91, 2, 0)
  98. MovementLoopAddLocation(NPC, 122.64, -2.47, -63.61, 2, 0)
  99. MovementLoopAddLocation(NPC, 141.21, -6.85, -44.99, 2, 0)
  100. MovementLoopAddLocation(NPC, 150.33, -7.01, -42.74, 2, 0)
  101. MovementLoopAddLocation(NPC, 168.4, -7.01, -40.38, 2, 0)
  102. MovementLoopAddLocation(NPC, 171.22, -7.01, -44.16, 2, 0)
  103. MovementLoopAddLocation(NPC, 178.87, -7.04, -45.63, 2, 0)
  104. MovementLoopAddLocation(NPC, 185.94, -6.99, -54.23, 2, 0)
  105. MovementLoopAddLocation(NPC, 213.1, -6.61, -55.2, 2, 0)
  106. MovementLoopAddLocation(NPC, 229.7, -6.91, -39.65, 2, 0)
  107. MovementLoopAddLocation(NPC, 245.86, -7.02, -38.93, 2, 0)
  108. MovementLoopAddLocation(NPC, 245.24, -6.51, -50.26, 2, 0)
  109. MovementLoopAddLocation(NPC, 236.67, -6.49, -63.6, 2, 0)
  110. MovementLoopAddLocation(NPC, 237.89, -6.8, -79.13, 2, 0)
  111. MovementLoopAddLocation(NPC, 244.3, -6.86, -86.18, 2, 0)
  112. MovementLoopAddLocation(NPC, 248.72, -6.86, -90.36, 2, 0)
  113. MovementLoopAddLocation(NPC, 242.78, -6.69, -122.14, 2, 0)
  114. MovementLoopAddLocation(NPC, 242.93, -6.66, -129.25, 2, 0)
  115. MovementLoopAddLocation(NPC, 242.24, -6.86, -135.11, 2, 0)
  116. MovementLoopAddLocation(NPC, 234.44, -6.86, -135.03, 2, 0)
  117. MovementLoopAddLocation(NPC, 234.54, -6.86, -152.61, 2, 0)
  118. MovementLoopAddLocation(NPC, 237.56, -6.86, -157.66, 2, 0)
  119. MovementLoopAddLocation(NPC, 237.82, -6.86, -172.91, 2, 0)
  120. MovementLoopAddLocation(NPC, 248.32, -6.86, -172.95, 2, 0)
  121. MovementLoopAddLocation(NPC, 250.04, -7.03, -178.46, 2, 0)
  122. MovementLoopAddLocation(NPC, 256.66, -7.02, -194.42, 2, 0)
  123. MovementLoopAddLocation(NPC, 256.26, -6.91, -200.53, 2, 0)
  124. MovementLoopAddLocation(NPC, 252.01, -6.98, -203.42, 2, 0)
  125. MovementLoopAddLocation(NPC, 232.67, -7.12, -203.34, 2, 0)
  126. MovementLoopAddLocation(NPC, 224.39, -6.98, -200.64, 2, 0)
  127. MovementLoopAddLocation(NPC, 209.87, -7.07, -185.65, 2, 0)
  128. MovementLoopAddLocation(NPC, 208.82, -7.02, -171.28, 2, 0)
  129. MovementLoopAddLocation(NPC, 200.03, -7.01, -165.03, 2, 0)
  130. MovementLoopAddLocation(NPC, 187.99, -7.03, -164.29, 2, 0)
  131. MovementLoopAddLocation(NPC, 176.7, -7.07, -166.14, 2, 0)
  132. MovementLoopAddLocation(NPC, 169.5, -7.08, -171.91, 2, 0)
  133. MovementLoopAddLocation(NPC, 169.44, -6.94, -186.47, 2, 0)
  134. MovementLoopAddLocation(NPC, 169.82, -7.07, -177.25, 2, 0)
  135. MovementLoopAddLocation(NPC, 173.39, -6.99, -169.24, 2, 0)
  136. MovementLoopAddLocation(NPC, 179.55, -6.98, -165.11, 2, 0)
  137. MovementLoopAddLocation(NPC, 198.51, -7, -164.92, 2, 0)
  138. MovementLoopAddLocation(NPC, 209.63, -6.98, -170.88, 2, 0)
  139. MovementLoopAddLocation(NPC, 210.65, -7.09, -183.45, 2, 0)
  140. MovementLoopAddLocation(NPC, 212.91, -7.09, -188.94, 2, 0)
  141. MovementLoopAddLocation(NPC, 223.01, -7.01, -202.54, 2, 0)
  142. MovementLoopAddLocation(NPC, 239.25, -7.16, -203.95, 2, 0)
  143. MovementLoopAddLocation(NPC, 253.79, -6.96, -202.76, 2, 0)
  144. MovementLoopAddLocation(NPC, 257.95, -7.06, -196.14, 2, 0)
  145. MovementLoopAddLocation(NPC, 249.22, -6.72, -176.85, 2, 0)
  146. MovementLoopAddLocation(NPC, 248.33, -6.86, -172.13, 2, 0)
  147. MovementLoopAddLocation(NPC, 242.04, -6.86, -152.8, 2, 0)
  148. MovementLoopAddLocation(NPC, 234.58, -6.86, -152.41, 2, 0)
  149. MovementLoopAddLocation(NPC, 234.87, -6.86, -148.42, 2, 0)
  150. MovementLoopAddLocation(NPC, 241.12, -6.86, -139.71, 2, 0)
  151. MovementLoopAddLocation(NPC, 242.82, -6.86, -133.61, 2, 0)
  152. MovementLoopAddLocation(NPC, 243.22, -6.86, -119.91, 2, 0)
  153. MovementLoopAddLocation(NPC, 246.83, -6.86, -104.98, 2, 0)
  154. MovementLoopAddLocation(NPC, 246.31, -6.86, -79.1, 2, 0)
  155. MovementLoopAddLocation(NPC, 237.39, -6.86, -79.89, 2, 0)
  156. MovementLoopAddLocation(NPC, 237.73, -6.49, -62.28, 2, 0)
  157. MovementLoopAddLocation(NPC, 245.02, -6.76, -50.92, 2, 0)
  158. MovementLoopAddLocation(NPC, 245.95, -7.05, -38.48, 2, 0)
  159. end