tomb_vermin9.lua 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. --[[
  2. Script Name : tomb_vermin9.lua
  3. Script Purpose : Waypoint Path for tomb_vermin9.lua
  4. Script Author : Devn00b
  5. Script Date : 06/12/2020 10:34:32 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 =12
  11. local level2 = 13
  12. local difficulty1 = 6
  13. local hp1 = 550
  14. local power1 = 185
  15. local difficulty2 = 6
  16. local hp2 = 680
  17. local power2 = 205
  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, 38.3, 0.46, -161.22, 2, 0)
  37. MovementLoopAddLocation(NPC, 50.75, -0.24, -160.32, 2, 0)
  38. MovementLoopAddLocation(NPC, 44.37, 0.36, -161.95, 2, 0)
  39. MovementLoopAddLocation(NPC, 26.32, -0.13, -161.23, 2, 0)
  40. MovementLoopAddLocation(NPC, 18.99, -0.05, -161.32, 2, 0)
  41. MovementLoopAddLocation(NPC, 16.28, -0.08, -166.5, 2, 0)
  42. MovementLoopAddLocation(NPC, 19.27, -0.21, -176.75, 2, 0)
  43. MovementLoopAddLocation(NPC, 19.89, -0.08, -184.91, 2, 0)
  44. MovementLoopAddLocation(NPC, 25.5, -0.08, -185.88, 2, 0)
  45. MovementLoopAddLocation(NPC, 26.31, -0.11, -195.23, 2, 0)
  46. MovementLoopAddLocation(NPC, 17.23, -0.08, -202.35, 2, 0)
  47. MovementLoopAddLocation(NPC, 7.36, -0.08, -202.93, 2, 0)
  48. MovementLoopAddLocation(NPC, 4.75, -0.08, -196.93, 2, 0)
  49. MovementLoopAddLocation(NPC, -12.75, 0.15, -197.35, 2, 0)
  50. MovementLoopAddLocation(NPC, -15.83, -0.04, -193.21, 2, 0)
  51. MovementLoopAddLocation(NPC, -15.5, -0.02, -187.29, 2, 0)
  52. MovementLoopAddLocation(NPC, -9.36, 0.44, -178.85, 2, 0)
  53. MovementLoopAddLocation(NPC, -9.36, -0.06, -172.84, 2, 0)
  54. MovementLoopAddLocation(NPC, -17.44, -0.14, -165.81, 2, 0)
  55. MovementLoopAddLocation(NPC, -16.28, -0.04, -160.79, 2, 0)
  56. MovementLoopAddLocation(NPC, -12.48, -0.15, -155.81, 2, 0)
  57. MovementLoopAddLocation(NPC, -12.46, -0.12, -147.13, 2, 0)
  58. MovementLoopAddLocation(NPC, 16.98, 1.21, -146.22, 2, 0)
  59. MovementLoopAddLocation(NPC, 31.35, 1.22, -139.37, 2, 0)
  60. MovementLoopAddLocation(NPC, 32.59, 1.22, -140.94, 2, 0)
  61. MovementLoopAddLocation(NPC, 32.57, 1.21, -148.15, 2, 0)
  62. MovementLoopAddLocation(NPC, 27.31, 1.21, -148.38, 2, 0)
  63. MovementLoopAddLocation(NPC, 20.22, 1.21, -141.19, 2, 0)
  64. MovementLoopAddLocation(NPC, 15.53, 1.21, -139.81, 2, 0)
  65. MovementLoopAddLocation(NPC, 15.83, -0.26, -131.37, 2, 0)
  66. MovementLoopAddLocation(NPC, 26.94, -0.34, -131.53, 2, 0)
  67. MovementLoopAddLocation(NPC, 37.17, -0.33, -131.52, 2, 0)
  68. MovementLoopAddLocation(NPC, 40.01, -0.34, -138.41, 2, 0)
  69. MovementLoopAddLocation(NPC, 56.63, 0.04, -142.31, 2, 0)
  70. MovementLoopAddLocation(NPC, 51.37, 0.04, -149.61, 2, 0)
  71. MovementLoopAddLocation(NPC, 37, -0.04, -147.42, 2, 0)
  72. MovementLoopAddLocation(NPC, 41.16, -0.27, -131.38, 2, 0)
  73. MovementLoopAddLocation(NPC, 16.02, -0.34, -132.31, 2, 0)
  74. MovementLoopAddLocation(NPC, 16.63, 1.21, -144.26, 2, 0)
  75. MovementLoopAddLocation(NPC, 26.1, 1.21, -145.74, 2, 0)
  76. MovementLoopAddLocation(NPC, 26.54, -0.11, -160.94, 2, 0)
  77. MovementLoopAddLocation(NPC, 26.1, 1.21, -145.74, 2, 0)
  78. MovementLoopAddLocation(NPC, 16.63, 1.21, -144.26, 2, 0)
  79. MovementLoopAddLocation(NPC, 16.02, -0.34, -132.31, 2, 0)
  80. MovementLoopAddLocation(NPC, 41.16, -0.27, -131.38, 2, 0)
  81. MovementLoopAddLocation(NPC, 37, -0.04, -147.42, 2, 0)
  82. MovementLoopAddLocation(NPC, 51.37, 0.04, -149.61, 2, 0)
  83. MovementLoopAddLocation(NPC, 56.63, 0.04, -142.31, 2, 0)
  84. MovementLoopAddLocation(NPC, 40.01, -0.34, -138.41, 2, 0)
  85. MovementLoopAddLocation(NPC, 37.17, -0.33, -131.52, 2, 0)
  86. MovementLoopAddLocation(NPC, 26.94, -0.34, -131.53, 2, 0)
  87. MovementLoopAddLocation(NPC, 15.83, -0.26, -131.37, 2, 0)
  88. MovementLoopAddLocation(NPC, 15.53, 1.21, -139.81, 2, 0)
  89. MovementLoopAddLocation(NPC, 20.22, 1.21, -141.19, 2, 0)
  90. MovementLoopAddLocation(NPC, 27.31, 1.21, -148.38, 2, 0)
  91. MovementLoopAddLocation(NPC, 32.57, 1.21, -148.15, 2, 0)
  92. MovementLoopAddLocation(NPC, 32.59, 1.22, -140.94, 2, 0)
  93. MovementLoopAddLocation(NPC, 31.35, 1.22, -139.37, 2, 0)
  94. MovementLoopAddLocation(NPC, 16.98, 1.21, -146.22, 2, 0)
  95. MovementLoopAddLocation(NPC, -12.46, -0.12, -147.13, 2, 0)
  96. MovementLoopAddLocation(NPC, -12.48, -0.15, -155.81, 2, 0)
  97. MovementLoopAddLocation(NPC, -16.28, -0.04, -160.79, 2, 0)
  98. MovementLoopAddLocation(NPC, -17.44, -0.14, -165.81, 2, 0)
  99. MovementLoopAddLocation(NPC, -9.36, -0.06, -172.84, 2, 0)
  100. MovementLoopAddLocation(NPC, -9.36, 0.44, -178.85, 2, 0)
  101. MovementLoopAddLocation(NPC, -15.5, -0.02, -187.29, 2, 0)
  102. MovementLoopAddLocation(NPC, -15.83, -0.04, -193.21, 2, 0)
  103. MovementLoopAddLocation(NPC, -12.75, 0.15, -197.35, 2, 0)
  104. MovementLoopAddLocation(NPC, 4.75, -0.08, -196.93, 2, 0)
  105. MovementLoopAddLocation(NPC, 7.36, -0.08, -202.93, 2, 0)
  106. MovementLoopAddLocation(NPC, 17.23, -0.08, -202.35, 2, 0)
  107. MovementLoopAddLocation(NPC, 26.31, -0.11, -195.23, 2, 0)
  108. MovementLoopAddLocation(NPC, 25.5, -0.08, -185.88, 2, 0)
  109. MovementLoopAddLocation(NPC, 19.89, -0.08, -184.91, 2, 0)
  110. MovementLoopAddLocation(NPC, 19.27, -0.21, -176.75, 2, 0)
  111. MovementLoopAddLocation(NPC, 16.28, -0.08, -166.5, 2, 0)
  112. MovementLoopAddLocation(NPC, 18.99, -0.05, -161.32, 2, 0)
  113. MovementLoopAddLocation(NPC, 26.32, -0.13, -161.23, 2, 0)
  114. MovementLoopAddLocation(NPC, 44.37, 0.36, -161.95, 2, 0)
  115. MovementLoopAddLocation(NPC, 50.75, -0.24, -160.32, 2, 0)
  116. MovementLoopAddLocation(NPC, 38.3, 0.46, -161.22, 2, 0)
  117. end