tomb_vermin.lua 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. --[[
  2. Script Name : tomb_vermin.lua
  3. Script Purpose : Waypoint Path for tomb_vermin.lua
  4. Script Author : Devn00b
  5. Script Date : 06/12/2020 12:12:03 AM
  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, -12.5, 0.01, -143.57, 2, 0)
  37. MovementLoopAddLocation(NPC, -12.47, -0.25, -134.63, 2, 0)
  38. MovementLoopAddLocation(NPC, -16.39, 0.23, -127.5, 2, 0)
  39. MovementLoopAddLocation(NPC, -16.21, 0.53, -119.53, 2, 0)
  40. MovementLoopAddLocation(NPC, -13.42, -0.27, -116.27, 2, 0)
  41. MovementLoopAddLocation(NPC, -15.88, 0.52, -119.28, 2, 0)
  42. MovementLoopAddLocation(NPC, -16.81, -0.1, -125.94, 2, 0)
  43. MovementLoopAddLocation(NPC, -12.7, -0.23, -133.67, 2, 0)
  44. MovementLoopAddLocation(NPC, -12.12, -0.18, -144.91, 2, 0)
  45. MovementLoopAddLocation(NPC, -12.44, -0.09, -154.8, 2, 0)
  46. MovementLoopAddLocation(NPC, -17.83, -0.04, -162.64, 2, 0)
  47. MovementLoopAddLocation(NPC, -10.33, -0.13, -173.61, 2, 0)
  48. MovementLoopAddLocation(NPC, -9.77, 0.4, -178.53, 2, 0)
  49. MovementLoopAddLocation(NPC, -16.25, 0.07, -189.23, 2, 0)
  50. MovementLoopAddLocation(NPC, -13.63, 0.09, -196.24, 2, 0)
  51. MovementLoopAddLocation(NPC, -7.13, -0.11, -197.69, 2, 0)
  52. MovementLoopAddLocation(NPC, 5.23, -0.08, -196.91, 2, 0)
  53. MovementLoopAddLocation(NPC, 19.77, -0.08, -182.34, 2, 0)
  54. MovementLoopAddLocation(NPC, 16.4, -0.08, -166.16, 2, 0)
  55. MovementLoopAddLocation(NPC, 18.77, -0.05, -161.21, 2, 0)
  56. MovementLoopAddLocation(NPC, 36.7, 0.46, -161.24, 2, 0)
  57. MovementLoopAddLocation(NPC, 49.54, -0.2, -161.21, 2, 0)
  58. MovementLoopAddLocation(NPC, 26.47, -0.12, -161.03, 2, 0)
  59. MovementLoopAddLocation(NPC, 26.59, 1.21, -148.22, 2, 0)
  60. MovementLoopAddLocation(NPC, 16.27, 1.21, -140.13, 2, 0)
  61. MovementLoopAddLocation(NPC, 15.35, -0.06, -134.25, 2, 0)
  62. MovementLoopAddLocation(NPC, 37.61, -0.34, -133.6, 2, 0)
  63. MovementLoopAddLocation(NPC, 37.61, -0.34, -148.28, 2, 0)
  64. MovementLoopAddLocation(NPC, 56.12, -0.14, -147.55, 2, 0)
  65. MovementLoopAddLocation(NPC, 55.79, -0.32, -139.87, 2, 0)
  66. MovementLoopAddLocation(NPC, 37.87, -0.34, -141.01, 2, 0)
  67. MovementLoopAddLocation(NPC, 37.35, 0.04, -130.15, 2, 0)
  68. MovementLoopAddLocation(NPC, 15.44, -0.34, -131.99, 2, 0)
  69. MovementLoopAddLocation(NPC, 16.32, 1.21, -146.52, 2, 0)
  70. MovementLoopAddLocation(NPC, -12.17, -0.24, -145.91, 2, 0)
  71. MovementLoopAddLocation(NPC, 16.32, 1.21, -146.52, 2, 0)
  72. MovementLoopAddLocation(NPC, 15.44, -0.34, -131.99, 2, 0)
  73. MovementLoopAddLocation(NPC, 37.35, 0.04, -130.15, 2, 0)
  74. MovementLoopAddLocation(NPC, 37.87, -0.34, -141.01, 2, 0)
  75. MovementLoopAddLocation(NPC, 55.79, -0.32, -139.87, 2, 0)
  76. MovementLoopAddLocation(NPC, 56.12, -0.14, -147.55, 2, 0)
  77. MovementLoopAddLocation(NPC, 37.61, -0.34, -148.28, 2, 0)
  78. MovementLoopAddLocation(NPC, 37.61, -0.34, -133.6, 2, 0)
  79. MovementLoopAddLocation(NPC, 15.35, -0.06, -134.25, 2, 0)
  80. MovementLoopAddLocation(NPC, 16.27, 1.21, -140.13, 2, 0)
  81. MovementLoopAddLocation(NPC, 26.59, 1.21, -148.22, 2, 0)
  82. MovementLoopAddLocation(NPC, 26.47, -0.12, -161.03, 2, 0)
  83. MovementLoopAddLocation(NPC, 49.54, -0.2, -161.21, 2, 0)
  84. MovementLoopAddLocation(NPC, 36.7, 0.46, -161.24, 2, 0)
  85. MovementLoopAddLocation(NPC, 18.77, -0.05, -161.21, 2, 0)
  86. MovementLoopAddLocation(NPC, 16.4, -0.08, -166.16, 2, 0)
  87. MovementLoopAddLocation(NPC, 19.77, -0.08, -182.34, 2, 0)
  88. MovementLoopAddLocation(NPC, 5.23, -0.08, -196.91, 2, 0)
  89. MovementLoopAddLocation(NPC, -7.13, -0.11, -197.69, 2, 0)
  90. MovementLoopAddLocation(NPC, -13.63, 0.09, -196.24, 2, 0)
  91. MovementLoopAddLocation(NPC, -16.25, 0.07, -189.23, 2, 0)
  92. MovementLoopAddLocation(NPC, -9.77, 0.4, -178.53, 2, 0)
  93. MovementLoopAddLocation(NPC, -10.33, -0.13, -173.61, 2, 0)
  94. MovementLoopAddLocation(NPC, -17.83, -0.04, -162.64, 2, 0)
  95. MovementLoopAddLocation(NPC, -12.44, -0.09, -154.8, 2, 0)
  96. MovementLoopAddLocation(NPC, -12.12, -0.18, -144.91, 2, 0)
  97. MovementLoopAddLocation(NPC, -12.7, -0.23, -133.67, 2, 0)
  98. MovementLoopAddLocation(NPC, -16.81, -0.1, -125.94, 2, 0)
  99. MovementLoopAddLocation(NPC, -15.88, 0.52, -119.28, 2, 0)
  100. MovementLoopAddLocation(NPC, -13.42, -0.27, -116.27, 2, 0)
  101. MovementLoopAddLocation(NPC, -16.21, 0.53, -119.53, 2, 0)
  102. MovementLoopAddLocation(NPC, -16.39, 0.23, -127.5, 2, 0)
  103. MovementLoopAddLocation(NPC, -12.47, -0.25, -134.63, 2, 0)
  104. MovementLoopAddLocation(NPC, -12.5, 0.01, -143.57, 2, 0)
  105. end