9
3

shriller23.lua 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. --[[
  2. Script Name : shriller23.lua
  3. Script Purpose : Waypoint Path for shriller23.lua
  4. Script Author : Devn00b
  5. Script Date : 05/14/2020 12:27:19 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 = 8
  11. local level2 = 9
  12. local difficulty1 = 8
  13. local hp1 = 485
  14. local power1 = 200
  15. local difficulty2 = 8
  16. local hp2 = 555
  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. spawn(NPC)
  35. end
  36. function waypoints(NPC)
  37. MovementLoopAddLocation(NPC, -204.05, 2, -91.29, 1, 0)
  38. MovementLoopAddLocation(NPC, -189.84, 2, -91.78, 1, 0)
  39. MovementLoopAddLocation(NPC, -181.21, 2, -89.3, 1, 0)
  40. MovementLoopAddLocation(NPC, -174.35, 2, -75.25, 1, 0)
  41. MovementLoopAddLocation(NPC, -179.58, 2, -83.47, 1, 0)
  42. MovementLoopAddLocation(NPC, -182.24, 2, -87.78, 1, 0)
  43. MovementLoopAddLocation(NPC, -188.66, 2, -92.05, 1, 0)
  44. MovementLoopAddLocation(NPC, -198.29, 2, -92.25, 1, 0)
  45. MovementLoopAddLocation(NPC, -195.56, 2, -103.45, 1, 0)
  46. MovementLoopAddLocation(NPC, -185.25, 2, -106.18, 1, 0)
  47. MovementLoopAddLocation(NPC, -181.83, 2, -111.96, 1, 0)
  48. MovementLoopAddLocation(NPC, -178.48, 2, -120.8, 1, 0)
  49. MovementLoopAddLocation(NPC, -182.53, 2, -108.38, 1, 0)
  50. MovementLoopAddLocation(NPC, -196.6, 2, -102.86, 1, 0)
  51. MovementLoopAddLocation(NPC, -198.62, 2, -96.14, 1, 0)
  52. MovementLoopAddLocation(NPC, -209.46, 2, -92.27, 1, 0)
  53. MovementLoopAddLocation(NPC, -213.04, 2, -88.39, 1, 0)
  54. MovementLoopAddLocation(NPC, -219.93, 2, -94.8, 1, 0)
  55. MovementLoopAddLocation(NPC, -221.37, 2, -92.63, 1, 0)
  56. MovementLoopAddLocation(NPC, -220.25, 2, -90.63, 1, 0)
  57. MovementLoopAddLocation(NPC, -216.68, 2, -93.43, 1, 0)
  58. MovementLoopAddLocation(NPC, -216.65, 2, -95.47, 1, 0)
  59. MovementLoopAddLocation(NPC, -218.16, 2, -97.02, 1, 0)
  60. MovementLoopAddLocation(NPC, -219.43, 2, -95.38, 1, 0)
  61. MovementLoopAddLocation(NPC, -218.3, 2, -91.78, 1, 0)
  62. MovementLoopAddLocation(NPC, -221.95, 2, -93.58, 1, 0)
  63. MovementLoopAddLocation(NPC, -217.46, 2, -93.5, 1, 0)
  64. MovementLoopAddLocation(NPC, -221.4, 2, -92, 1, 0)
  65. MovementLoopAddLocation(NPC, -217.79, 2, -91.88, 1, 0)
  66. MovementLoopAddLocation(NPC, -214.88, 2, -88.15, 1, 0)
  67. MovementLoopAddLocation(NPC, -217.8, 2, -77.9, 1, 0)
  68. MovementLoopAddLocation(NPC, -217.92, 2, -58.13, 1, 0)
  69. MovementLoopAddLocation(NPC, -214.64, 2, -52.8, 1, 0)
  70. MovementLoopAddLocation(NPC, -191.51, 2, -29.01, 1, 0)
  71. MovementLoopAddLocation(NPC, -180.44, 2, -40.16, 1, 0)
  72. MovementLoopAddLocation(NPC, -191.16, 2, -51.29, 1, 0)
  73. MovementLoopAddLocation(NPC, -191.47, 2, -61.3, 1, 0)
  74. MovementLoopAddLocation(NPC, -191.37, 2, -68.71, 1, 0)
  75. MovementLoopAddLocation(NPC, -184.23, 2, -74.23, 1, 0)
  76. MovementLoopAddLocation(NPC, -175.81, 2, -74.57, 1, 0)
  77. MovementLoopAddLocation(NPC, -184.23, 2, -74.23, 1, 0)
  78. MovementLoopAddLocation(NPC, -191.37, 2, -68.71, 1, 0)
  79. MovementLoopAddLocation(NPC, -191.47, 2, -61.3, 1, 0)
  80. MovementLoopAddLocation(NPC, -191.16, 2, -51.29, 1, 0)
  81. MovementLoopAddLocation(NPC, -180.44, 2, -40.16, 1, 0)
  82. MovementLoopAddLocation(NPC, -191.51, 2, -29.01, 1, 0)
  83. MovementLoopAddLocation(NPC, -214.64, 2, -52.8, 1, 0)
  84. MovementLoopAddLocation(NPC, -217.92, 2, -58.13, 1, 0)
  85. MovementLoopAddLocation(NPC, -217.8, 2, -77.9, 1, 0)
  86. MovementLoopAddLocation(NPC, -214.88, 2, -88.15, 1, 0)
  87. MovementLoopAddLocation(NPC, -217.79, 2, -91.88, 1, 0)
  88. MovementLoopAddLocation(NPC, -221.4, 2, -92, 1, 0)
  89. MovementLoopAddLocation(NPC, -217.46, 2, -93.5, 1, 0)
  90. MovementLoopAddLocation(NPC, -221.95, 2, -93.58, 1, 0)
  91. MovementLoopAddLocation(NPC, -218.3, 2, -91.78, 1, 0)
  92. MovementLoopAddLocation(NPC, -219.43, 2, -95.38, 1, 0)
  93. MovementLoopAddLocation(NPC, -218.16, 2, -97.02, 1, 0)
  94. MovementLoopAddLocation(NPC, -216.65, 2, -95.47, 1, 0)
  95. MovementLoopAddLocation(NPC, -216.68, 2, -93.43, 1, 0)
  96. MovementLoopAddLocation(NPC, -220.25, 2, -90.63, 1, 0)
  97. MovementLoopAddLocation(NPC, -221.37, 2, -92.63, 1, 0)
  98. MovementLoopAddLocation(NPC, -219.93, 2, -94.8, 1, 0)
  99. MovementLoopAddLocation(NPC, -213.04, 2, -88.39, 1, 0)
  100. MovementLoopAddLocation(NPC, -209.46, 2, -92.27, 1, 0)
  101. MovementLoopAddLocation(NPC, -198.62, 2, -96.14, 1, 0)
  102. MovementLoopAddLocation(NPC, -196.6, 2, -102.86, 1, 0)
  103. MovementLoopAddLocation(NPC, -182.53, 2, -108.38, 1, 0)
  104. MovementLoopAddLocation(NPC, -178.48, 2, -120.8, 1, 0)
  105. MovementLoopAddLocation(NPC, -181.83, 2, -111.96, 1, 0)
  106. MovementLoopAddLocation(NPC, -185.25, 2, -106.18, 1, 0)
  107. MovementLoopAddLocation(NPC, -195.56, 2, -103.45, 1, 0)
  108. MovementLoopAddLocation(NPC, -198.29, 2, -92.25, 1, 0)
  109. MovementLoopAddLocation(NPC, -188.66, 2, -92.05, 1, 0)
  110. MovementLoopAddLocation(NPC, -182.24, 2, -87.78, 1, 0)
  111. MovementLoopAddLocation(NPC, -179.58, 2, -83.47, 1, 0)
  112. MovementLoopAddLocation(NPC, -174.35, 2, -75.25, 1, 0)
  113. MovementLoopAddLocation(NPC, -181.21, 2, -89.3, 1, 0)
  114. MovementLoopAddLocation(NPC, -189.84, 2, -91.78, 1, 0)
  115. MovementLoopAddLocation(NPC, -204.05, 2, -91.29, 1, 0)
  116. end