9
3

tomb_vermin17.lua 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. --[[
  2. Script Name : tomb_vermin17.lua
  3. Script Purpose : Waypoint Path for tomb_vermin17.lua
  4. Script Author : Devn00b
  5. Script Date : 06/30/2020 09:26:34 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, 247.95, -6.86, -155.11, 2, math.random(0,3))
  37. MovementLoopAddLocation(NPC, 248.95, -6.75, -177.27, 2, math.random(0,3))
  38. MovementLoopAddLocation(NPC, 258.16, -7, -192.32, 2, math.random(0,3))
  39. MovementLoopAddLocation(NPC, 255.92, -6.92, -200.91, 2, math.random(0,3))
  40. MovementLoopAddLocation(NPC, 251.32, -6.98, -203.25, 2, math.random(0,3))
  41. MovementLoopAddLocation(NPC, 227.21, -7.05, -203.4, 2, math.random(0,3))
  42. MovementLoopAddLocation(NPC, 212.74, -7.09, -192.57, 2, math.random(0,3))
  43. MovementLoopAddLocation(NPC, 207.82, -7.04, -183.59, 2, math.random(0,3))
  44. MovementLoopAddLocation(NPC, 208.88, -7.01, -172.56, 2, math.random(0,3))
  45. MovementLoopAddLocation(NPC, 200.78, -7.09, -162.63, 2, math.random(0,3))
  46. MovementLoopAddLocation(NPC, 175.23, -6.99, -163.59, 2, math.random(0,3))
  47. MovementLoopAddLocation(NPC, 169.6, -7.02, -175.75, 2, math.random(0,3))
  48. MovementLoopAddLocation(NPC, 168.88, -6.97, -168.93, 2, math.random(0,3))
  49. MovementLoopAddLocation(NPC, 185.07, -7.07, -161.21, 2, math.random(0,3))
  50. MovementLoopAddLocation(NPC, 188.27, -6.99, -166.36, 2, math.random(0,3))
  51. MovementLoopAddLocation(NPC, 197.11, -7.03, -161.38, 2, math.random(0,3))
  52. MovementLoopAddLocation(NPC, 201.65, -7.01, -168.26, 2, math.random(0,3))
  53. MovementLoopAddLocation(NPC, 205.85, -7.06, -165.18, 2, math.random(0,3))
  54. MovementLoopAddLocation(NPC, 212.29, -6.97, -175.82, 2, math.random(0,3))
  55. MovementLoopAddLocation(NPC, 207.5, -6.91, -179.42, 2, math.random(0,3))
  56. MovementLoopAddLocation(NPC, 212.67, -7.03, -186.62, 2, math.random(0,3))
  57. MovementLoopAddLocation(NPC, 210.6, -7.01, -191.78, 2, math.random(0,3))
  58. MovementLoopAddLocation(NPC, 221.89, -7.09, -196.79, 2, math.random(0,3))
  59. MovementLoopAddLocation(NPC, 219, -6.97, -200.27, 2, math.random(0,3))
  60. MovementLoopAddLocation(NPC, 221.89, -7.09, -196.79, 2, math.random(0,3))
  61. MovementLoopAddLocation(NPC, 210.6, -7.01, -191.78, 2, math.random(0,3))
  62. MovementLoopAddLocation(NPC, 212.67, -7.03, -186.62, 2, math.random(0,3))
  63. MovementLoopAddLocation(NPC, 207.5, -6.91, -179.42, 2, math.random(0,3))
  64. MovementLoopAddLocation(NPC, 212.29, -6.97, -175.82, 2, math.random(0,3))
  65. MovementLoopAddLocation(NPC, 205.85, -7.06, -165.18, 2, math.random(0,3))
  66. MovementLoopAddLocation(NPC, 201.65, -7.01, -168.26, 2, math.random(0,3))
  67. MovementLoopAddLocation(NPC, 197.11, -7.03, -161.38, 2, math.random(0,3))
  68. MovementLoopAddLocation(NPC, 188.27, -6.99, -166.36, 2, math.random(0,3))
  69. MovementLoopAddLocation(NPC, 185.07, -7.07, -161.21, 2, math.random(0,3))
  70. MovementLoopAddLocation(NPC, 168.88, -6.97, -168.93, 2, math.random(0,3))
  71. MovementLoopAddLocation(NPC, 169.6, -7.02, -175.75, 2, math.random(0,3))
  72. MovementLoopAddLocation(NPC, 175.23, -6.99, -163.59, 2, math.random(0,3))
  73. MovementLoopAddLocation(NPC, 200.78, -7.09, -162.63, 2, math.random(0,3))
  74. MovementLoopAddLocation(NPC, 208.88, -7.01, -172.56, 2, math.random(0,3))
  75. MovementLoopAddLocation(NPC, 207.82, -7.04, -183.59, 2, math.random(0,3))
  76. MovementLoopAddLocation(NPC, 212.74, -7.09, -192.57, 2, math.random(0,3))
  77. MovementLoopAddLocation(NPC, 227.21, -7.05, -203.4, 2, math.random(0,3))
  78. MovementLoopAddLocation(NPC, 251.32, -6.98, -203.25, 2, math.random(0,3))
  79. MovementLoopAddLocation(NPC, 255.92, -6.92, -200.91, 2, math.random(0,3))
  80. MovementLoopAddLocation(NPC, 258.16, -7, -192.32, 2, math.random(0,3))
  81. MovementLoopAddLocation(NPC, 248.95, -6.75, -177.27, 2, math.random(0,3))
  82. MovementLoopAddLocation(NPC, 247.95, -6.86, -155.11, 2, math.random(0,3))
  83. end