9
3

tomb_vermin6.lua 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. --[[
  2. Script Name : tomb_vermin6_1.lua
  3. Script Purpose : Waypoint Path for tomb_vermin6_1.lua
  4. Script Author : Devn00b
  5. Script Date : 06/12/2020 12:32:51 AM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 =15
  11. local level2 = 16
  12. local difficulty1 = 6
  13. local hp1 = 920
  14. local power1 = 270
  15. local difficulty2 = 6
  16. local hp2 = 1045
  17. local power2 = 310
  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, 29.24, 1.22, -141.04, 2, 0)
  37. MovementLoopAddLocation(NPC, 27.81, 1.21, -148.02, 2, 0)
  38. MovementLoopAddLocation(NPC, 26.15, 0.03, -150.87, 2, 0)
  39. MovementLoopAddLocation(NPC, 26.52, -0.11, -160.94, 2, 0)
  40. MovementLoopAddLocation(NPC, 48.48, -0.09, -160.25, 2, 0)
  41. MovementLoopAddLocation(NPC, 26.37, -0.13, -161.08, 2, 0)
  42. MovementLoopAddLocation(NPC, 25.45, 1.21, -148.16, 2, 0)
  43. MovementLoopAddLocation(NPC, 17.43, 1.21, -147.37, 2, 0)
  44. MovementLoopAddLocation(NPC, 14.73, 1.21, -141.06, 2, 0)
  45. MovementLoopAddLocation(NPC, 19.37, 1.21, -140.52, 2, 0)
  46. MovementLoopAddLocation(NPC, 22.65, 1.21, -145.49, 2, 0)
  47. MovementLoopAddLocation(NPC, 19.54, 1.21, -147.18, 2, 0)
  48. MovementLoopAddLocation(NPC, 26.28, 1.21, -143.52, 2, 0)
  49. MovementLoopAddLocation(NPC, 29.72, 1.21, -148.68, 2, 0)
  50. MovementLoopAddLocation(NPC, 17.75, 1.21, -142.32, 2, 0)
  51. MovementLoopAddLocation(NPC, 21.16, 1.21, -139.11, 2, 0)
  52. MovementLoopAddLocation(NPC, 26.35, 1.21, -143.24, 2, 0)
  53. MovementLoopAddLocation(NPC, 31.67, 1.22, -139.27, 2, 0)
  54. MovementLoopAddLocation(NPC, 33.41, 1.22, -140.85, 2, 0)
  55. MovementLoopAddLocation(NPC, 30.83, 1.22, -140.91, 2, 0)
  56. MovementLoopAddLocation(NPC, 29.42, 1.22, -138.08, 2, 0)
  57. MovementLoopAddLocation(NPC, 32.88, 1.22, -141.6, 2, 0)
  58. MovementLoopAddLocation(NPC, 32.79, 1.22, -147.33, 2, 0)
  59. MovementLoopAddLocation(NPC, 29.49, 1.21, -146.95, 2, 0)
  60. MovementLoopAddLocation(NPC, 26.48, 1.21, -143.26, 2, 0)
  61. MovementLoopAddLocation(NPC, 20.82, 1.21, -149.31, 2, 0)
  62. MovementLoopAddLocation(NPC, 15.85, 1.21, -150.57, 2, 0)
  63. MovementLoopAddLocation(NPC, 14.49, 0.5, -146.69, 2, 0)
  64. MovementLoopAddLocation(NPC, 14.38, 1.48, -140.65, 2, 0)
  65. MovementLoopAddLocation(NPC, 13.19, 1.21, -139.41, 2, 0)
  66. MovementLoopAddLocation(NPC, 19.36, 1.21, -138.34, 2, 0)
  67. MovementLoopAddLocation(NPC, 13.19, 1.21, -139.41, 2, 0)
  68. MovementLoopAddLocation(NPC, 14.38, 1.48, -140.65, 2, 0)
  69. MovementLoopAddLocation(NPC, 14.49, 0.5, -146.69, 2, 0)
  70. MovementLoopAddLocation(NPC, 15.85, 1.21, -150.57, 2, 0)
  71. MovementLoopAddLocation(NPC, 20.82, 1.21, -149.31, 2, 0)
  72. MovementLoopAddLocation(NPC, 26.48, 1.21, -143.26, 2, 0)
  73. MovementLoopAddLocation(NPC, 29.49, 1.21, -146.95, 2, 0)
  74. MovementLoopAddLocation(NPC, 32.79, 1.22, -147.33, 2, 0)
  75. MovementLoopAddLocation(NPC, 32.88, 1.22, -141.6, 2, 0)
  76. MovementLoopAddLocation(NPC, 29.42, 1.22, -138.08, 2, 0)
  77. MovementLoopAddLocation(NPC, 30.83, 1.22, -140.91, 2, 0)
  78. MovementLoopAddLocation(NPC, 33.41, 1.22, -140.85, 2, 0)
  79. MovementLoopAddLocation(NPC, 31.67, 1.22, -139.27, 2, 0)
  80. MovementLoopAddLocation(NPC, 26.35, 1.21, -143.24, 2, 0)
  81. MovementLoopAddLocation(NPC, 21.16, 1.21, -139.11, 2, 0)
  82. MovementLoopAddLocation(NPC, 17.75, 1.21, -142.32, 2, 0)
  83. MovementLoopAddLocation(NPC, 29.72, 1.21, -148.68, 2, 0)
  84. MovementLoopAddLocation(NPC, 26.28, 1.21, -143.52, 2, 0)
  85. MovementLoopAddLocation(NPC, 19.54, 1.21, -147.18, 2, 0)
  86. MovementLoopAddLocation(NPC, 22.65, 1.21, -145.49, 2, 0)
  87. MovementLoopAddLocation(NPC, 19.37, 1.21, -140.52, 2, 0)
  88. MovementLoopAddLocation(NPC, 14.73, 1.21, -141.06, 2, 0)
  89. MovementLoopAddLocation(NPC, 17.43, 1.21, -147.37, 2, 0)
  90. MovementLoopAddLocation(NPC, 25.45, 1.21, -148.16, 2, 0)
  91. MovementLoopAddLocation(NPC, 26.37, -0.13, -161.08, 2, 0)
  92. MovementLoopAddLocation(NPC, 48.48, -0.09, -160.25, 2, 0)
  93. MovementLoopAddLocation(NPC, 26.52, -0.11, -160.94, 2, 0)
  94. MovementLoopAddLocation(NPC, 26.15, 0.03, -150.87, 2, 0)
  95. MovementLoopAddLocation(NPC, 27.81, 1.21, -148.02, 2, 0)
  96. MovementLoopAddLocation(NPC, 29.24, 1.22, -141.04, 2, 0)
  97. end