9
3

tomb_vermin10.lua 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. --[[
  2. Script Name : tomb_vermin10.lua
  3. Script Purpose : Waypoint Path for tomb_vermin10.lua
  4. Script Author : Devn00b
  5. Script Date : 06/15/2020 01:35:19 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, 72.95, -0.7, -167.85, 2, 0)
  37. MovementLoopAddLocation(NPC, 93.12, -0.08, -168.38, 2, 0)
  38. MovementLoopAddLocation(NPC, 99.68, -0.47, -160.72, 2, 0)
  39. MovementLoopAddLocation(NPC, 97.61, -0.83, -160.46, 2, 0)
  40. MovementLoopAddLocation(NPC, 97.07, -0.46, -156.93, 2, 0)
  41. MovementLoopAddLocation(NPC, 84.6, -0.08, -158.77, 2, 0)
  42. MovementLoopAddLocation(NPC, 83.75, 0.02, -150.44, 2, 0)
  43. MovementLoopAddLocation(NPC, 75.27, 0.52, -139.33, 2, 0)
  44. MovementLoopAddLocation(NPC, 75.2, -0.12, -130.58, 2, 0)
  45. MovementLoopAddLocation(NPC, 75.08, -0.01, -121.17, 2, 0)
  46. MovementLoopAddLocation(NPC, 71.13, 0.52, -114.39, 2, 0)
  47. MovementLoopAddLocation(NPC, 66.1, -0.25, -108.71, 2, 0)
  48. MovementLoopAddLocation(NPC, 52.35, -0.12, -106.93, 2, 0)
  49. MovementLoopAddLocation(NPC, 34.89, -0.02, -88.58, 2, 0)
  50. MovementLoopAddLocation(NPC, 33.94, -0.1, -76.51, 2, 0)
  51. MovementLoopAddLocation(NPC, 44.05, 0.45, -61.18, 2, 0)
  52. MovementLoopAddLocation(NPC, 45.59, -0.18, -48, 2, 0)
  53. MovementLoopAddLocation(NPC, 58.59, 0.08, -48.47, 2, 0)
  54. MovementLoopAddLocation(NPC, 59.84, -0.01, -43.43, 2, 0)
  55. MovementLoopAddLocation(NPC, 62.88, 0.29, -33.52, 2, 0)
  56. MovementLoopAddLocation(NPC, 82.53, -0.16, -32.61, 2, 0)
  57. MovementLoopAddLocation(NPC, 89.72, 0.02, -32.57, 2, 0)
  58. MovementLoopAddLocation(NPC, 94.98, 0.04, -37.31, 2, 0)
  59. MovementLoopAddLocation(NPC, 95.58, 0.4, -56.41, 2, 0)
  60. MovementLoopAddLocation(NPC, 96.09, 0.02, -76.63, 2, 0)
  61. MovementLoopAddLocation(NPC, 91.83, 0.04, -81.39, 2, 0)
  62. MovementLoopAddLocation(NPC, 79.7, 0.54, -83, 2, 0)
  63. MovementLoopAddLocation(NPC, 58.35, 0.53, -83.47, 2, 0)
  64. MovementLoopAddLocation(NPC, 43.67, -0.11, -98.14, 2, 0)
  65. MovementLoopAddLocation(NPC, 58.35, 0.53, -83.47, 2, 0)
  66. MovementLoopAddLocation(NPC, 79.7, 0.54, -83, 2, 0)
  67. MovementLoopAddLocation(NPC, 91.83, 0.04, -81.39, 2, 0)
  68. MovementLoopAddLocation(NPC, 96.09, 0.02, -76.63, 2, 0)
  69. MovementLoopAddLocation(NPC, 95.58, 0.4, -56.41, 2, 0)
  70. MovementLoopAddLocation(NPC, 94.98, 0.04, -37.31, 2, 0)
  71. MovementLoopAddLocation(NPC, 89.72, 0.02, -32.57, 2, 0)
  72. MovementLoopAddLocation(NPC, 82.53, -0.16, -32.61, 2, 0)
  73. MovementLoopAddLocation(NPC, 62.88, 0.29, -33.52, 2, 0)
  74. MovementLoopAddLocation(NPC, 59.84, -0.01, -43.43, 2, 0)
  75. MovementLoopAddLocation(NPC, 58.59, 0.08, -48.47, 2, 0)
  76. MovementLoopAddLocation(NPC, 45.59, -0.18, -48, 2, 0)
  77. MovementLoopAddLocation(NPC, 44.05, 0.45, -61.18, 2, 0)
  78. MovementLoopAddLocation(NPC, 33.94, -0.1, -76.51, 2, 0)
  79. MovementLoopAddLocation(NPC, 34.89, -0.02, -88.58, 2, 0)
  80. MovementLoopAddLocation(NPC, 52.35, -0.12, -106.93, 2, 0)
  81. MovementLoopAddLocation(NPC, 66.1, -0.25, -108.71, 2, 0)
  82. MovementLoopAddLocation(NPC, 71.13, 0.52, -114.39, 2, 0)
  83. MovementLoopAddLocation(NPC, 75.08, -0.01, -121.17, 2, 0)
  84. MovementLoopAddLocation(NPC, 75.2, -0.12, -130.58, 2, 0)
  85. MovementLoopAddLocation(NPC, 75.27, 0.52, -139.33, 2, 0)
  86. MovementLoopAddLocation(NPC, 83.75, 0.02, -150.44, 2, 0)
  87. MovementLoopAddLocation(NPC, 84.6, -0.08, -158.77, 2, 0)
  88. MovementLoopAddLocation(NPC, 97.07, -0.46, -156.93, 2, 0)
  89. MovementLoopAddLocation(NPC, 97.61, -0.83, -160.46, 2, 0)
  90. MovementLoopAddLocation(NPC, 99.68, -0.47, -160.72, 2, 0)
  91. MovementLoopAddLocation(NPC, 93.12, -0.08, -168.38, 2, 0)
  92. MovementLoopAddLocation(NPC, 72.95, -0.7, -167.85, 2, 0)
  93. end