tomb_vermin2.lua 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. --[[
  2. Script Name : tomb_vermin2.lua
  3. Script Purpose : Waypoint Path for tomb_vermin2.lua
  4. Script Author : Devn00b
  5. Script Date : 06/12/2020 12:15:52 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, -10.13, -0.19, -180.96, 2, 0)
  37. MovementLoopAddLocation(NPC, -9.3, -0.09, -173.53, 2, 0)
  38. MovementLoopAddLocation(NPC, -16.36, -0.11, -167.03, 2, 0)
  39. MovementLoopAddLocation(NPC, -17.1, 0.03, -161.35, 2, 0)
  40. MovementLoopAddLocation(NPC, -12.46, 0.34, -153.85, 2, 0)
  41. MovementLoopAddLocation(NPC, -12.11, -0.25, -145.95, 2, 0)
  42. MovementLoopAddLocation(NPC, 16.14, 1.21, -146.43, 2, 0)
  43. MovementLoopAddLocation(NPC, 31.01, 1.22, -140.14, 2, 0)
  44. MovementLoopAddLocation(NPC, 32.86, 1.22, -141.03, 2, 0)
  45. MovementLoopAddLocation(NPC, 33, 1.22, -147.72, 2, 0)
  46. MovementLoopAddLocation(NPC, 16.06, 1.21, -150.58, 2, 0)
  47. MovementLoopAddLocation(NPC, 14.86, 1.21, -141.3, 2, 0)
  48. MovementLoopAddLocation(NPC, 15.01, -0.34, -132.47, 2, 0)
  49. MovementLoopAddLocation(NPC, 56.2, -0.1, -132.75, 2, 0)
  50. MovementLoopAddLocation(NPC, 53.16, -0.34, -140.73, 2, 0)
  51. MovementLoopAddLocation(NPC, 48.52, -0.34, -141.04, 2, 0)
  52. MovementLoopAddLocation(NPC, 46.16, 0.04, -149.64, 2, 0)
  53. MovementLoopAddLocation(NPC, 46.6, -0.34, -139.61, 2, 0)
  54. MovementLoopAddLocation(NPC, 48.93, 0.04, -130.56, 2, 0)
  55. MovementLoopAddLocation(NPC, 37.25, -0.22, -134.41, 2, 0)
  56. MovementLoopAddLocation(NPC, 38.18, 0.04, -129.82, 2, 0)
  57. MovementLoopAddLocation(NPC, 56.19, 0.01, -130.85, 2, 0)
  58. MovementLoopAddLocation(NPC, 55.88, -0.28, -138.93, 2, 0)
  59. MovementLoopAddLocation(NPC, 49.76, -0.34, -141.92, 2, 0)
  60. MovementLoopAddLocation(NPC, 42.67, -0.34, -132.52, 2, 0)
  61. MovementLoopAddLocation(NPC, 15.44, -0.34, -132.99, 2, 0)
  62. MovementLoopAddLocation(NPC, 15.59, 1.2, -139.55, 2, 0)
  63. MovementLoopAddLocation(NPC, 25.3, 1.21, -148.05, 2, 0)
  64. MovementLoopAddLocation(NPC, 26.47, -0.12, -161.31, 2, 0)
  65. MovementLoopAddLocation(NPC, 50.42, -0.21, -161.17, 2, 0)
  66. MovementLoopAddLocation(NPC, 26.47, -0.12, -161.31, 2, 0)
  67. MovementLoopAddLocation(NPC, 25.3, 1.21, -148.05, 2, 0)
  68. MovementLoopAddLocation(NPC, 15.59, 1.2, -139.55, 2, 0)
  69. MovementLoopAddLocation(NPC, 15.44, -0.34, -132.99, 2, 0)
  70. MovementLoopAddLocation(NPC, 42.67, -0.34, -132.52, 2, 0)
  71. MovementLoopAddLocation(NPC, 49.76, -0.34, -141.92, 2, 0)
  72. MovementLoopAddLocation(NPC, 55.88, -0.28, -138.93, 2, 0)
  73. MovementLoopAddLocation(NPC, 56.19, 0.01, -130.85, 2, 0)
  74. MovementLoopAddLocation(NPC, 38.18, 0.04, -129.82, 2, 0)
  75. MovementLoopAddLocation(NPC, 37.25, -0.22, -134.41, 2, 0)
  76. MovementLoopAddLocation(NPC, 48.93, 0.04, -130.56, 2, 0)
  77. MovementLoopAddLocation(NPC, 46.6, -0.34, -139.61, 2, 0)
  78. MovementLoopAddLocation(NPC, 46.16, 0.04, -149.64, 2, 0)
  79. MovementLoopAddLocation(NPC, 48.52, -0.34, -141.04, 2, 0)
  80. MovementLoopAddLocation(NPC, 53.16, -0.34, -140.73, 2, 0)
  81. MovementLoopAddLocation(NPC, 56.2, -0.1, -132.75, 2, 0)
  82. MovementLoopAddLocation(NPC, 15.01, -0.34, -132.47, 2, 0)
  83. MovementLoopAddLocation(NPC, 14.86, 1.21, -141.3, 2, 0)
  84. MovementLoopAddLocation(NPC, 16.06, 1.21, -150.58, 2, 0)
  85. MovementLoopAddLocation(NPC, 33, 1.22, -147.72, 2, 0)
  86. MovementLoopAddLocation(NPC, 32.86, 1.22, -141.03, 2, 0)
  87. MovementLoopAddLocation(NPC, 31.01, 1.22, -140.14, 2, 0)
  88. MovementLoopAddLocation(NPC, 16.14, 1.21, -146.43, 2, 0)
  89. MovementLoopAddLocation(NPC, -12.11, -0.25, -145.95, 2, 0)
  90. MovementLoopAddLocation(NPC, -12.46, 0.34, -153.85, 2, 0)
  91. MovementLoopAddLocation(NPC, -17.1, 0.03, -161.35, 2, 0)
  92. MovementLoopAddLocation(NPC, -16.36, -0.11, -167.03, 2, 0)
  93. MovementLoopAddLocation(NPC, -9.3, -0.09, -173.53, 2, 0)
  94. MovementLoopAddLocation(NPC, -10.13, -0.19, -180.96, 2, 0)
  95. end