9
3

tomb_vermin8.lua 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. --[[
  2. Script Name : tomb_vermin8.lua
  3. Script Purpose : Waypoint Path for tomb_vermin8.lua
  4. Script Author : Devn00b
  5. Script Date : 06/12/2020 08:23:19 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, 17.58, -0.14, -165.09, 2, 0)
  37. MovementLoopAddLocation(NPC, 19.58, -0.03, -161.15, 2, 0)
  38. MovementLoopAddLocation(NPC, 37.31, 0.45, -161.25, 2, 0)
  39. MovementLoopAddLocation(NPC, 50.22, -0.23, -161.04, 2, 0)
  40. MovementLoopAddLocation(NPC, 26.01, -0.13, -161.09, 2, 0)
  41. MovementLoopAddLocation(NPC, 26.64, 1.21, -145.53, 2, 0)
  42. MovementLoopAddLocation(NPC, 22.9, 1.22, -138.82, 2, 0)
  43. MovementLoopAddLocation(NPC, 31.78, 1.21, -148.59, 2, 0)
  44. MovementLoopAddLocation(NPC, 16.29, 1.21, -146.6, 2, 0)
  45. MovementLoopAddLocation(NPC, -10.89, -0.23, -146.4, 2, 0)
  46. MovementLoopAddLocation(NPC, -13.16, -0.21, -134.54, 2, 0)
  47. MovementLoopAddLocation(NPC, -16.84, -0.11, -126.61, 2, 0)
  48. MovementLoopAddLocation(NPC, -14.85, 0.54, -119.99, 2, 0)
  49. MovementLoopAddLocation(NPC, -15.82, 0.39, -127.77, 2, 0)
  50. MovementLoopAddLocation(NPC, -12.17, 0.29, -138.15, 2, 0)
  51. MovementLoopAddLocation(NPC, -12.75, 0.37, -152.12, 2, 0)
  52. MovementLoopAddLocation(NPC, -16.84, -0.01, -162.77, 2, 0)
  53. MovementLoopAddLocation(NPC, -10.19, -0.02, -174.86, 2, 0)
  54. MovementLoopAddLocation(NPC, -11.21, 0.44, -178.82, 2, 0)
  55. MovementLoopAddLocation(NPC, -16.72, 0.02, -192.88, 2, 0)
  56. MovementLoopAddLocation(NPC, -12.29, 0.16, -197.72, 2, 0)
  57. MovementLoopAddLocation(NPC, 4.24, -0.08, -197.87, 2, 0)
  58. MovementLoopAddLocation(NPC, 19.08, -0.08, -180.55, 2, 0)
  59. MovementLoopAddLocation(NPC, 16.46, -0.08, -165.86, 2, 0)
  60. MovementLoopAddLocation(NPC, 19.08, -0.08, -180.55, 2, 0)
  61. MovementLoopAddLocation(NPC, 4.24, -0.08, -197.87, 2, 0)
  62. MovementLoopAddLocation(NPC, -12.29, 0.16, -197.72, 2, 0)
  63. MovementLoopAddLocation(NPC, -16.72, 0.02, -192.88, 2, 0)
  64. MovementLoopAddLocation(NPC, -11.21, 0.44, -178.82, 2, 0)
  65. MovementLoopAddLocation(NPC, -10.19, -0.02, -174.86, 2, 0)
  66. MovementLoopAddLocation(NPC, -16.84, -0.01, -162.77, 2, 0)
  67. MovementLoopAddLocation(NPC, -12.75, 0.37, -152.12, 2, 0)
  68. MovementLoopAddLocation(NPC, -12.17, 0.29, -138.15, 2, 0)
  69. MovementLoopAddLocation(NPC, -15.82, 0.39, -127.77, 2, 0)
  70. MovementLoopAddLocation(NPC, -14.85, 0.54, -119.99, 2, 0)
  71. MovementLoopAddLocation(NPC, -16.84, -0.11, -126.61, 2, 0)
  72. MovementLoopAddLocation(NPC, -13.16, -0.21, -134.54, 2, 0)
  73. MovementLoopAddLocation(NPC, -10.89, -0.23, -146.4, 2, 0)
  74. MovementLoopAddLocation(NPC, 16.29, 1.21, -146.6, 2, 0)
  75. MovementLoopAddLocation(NPC, 31.78, 1.21, -148.59, 2, 0)
  76. MovementLoopAddLocation(NPC, 22.9, 1.22, -138.82, 2, 0)
  77. MovementLoopAddLocation(NPC, 26.64, 1.21, -145.53, 2, 0)
  78. MovementLoopAddLocation(NPC, 26.01, -0.13, -161.09, 2, 0)
  79. MovementLoopAddLocation(NPC, 50.22, -0.23, -161.04, 2, 0)
  80. MovementLoopAddLocation(NPC, 37.31, 0.45, -161.25, 2, 0)
  81. MovementLoopAddLocation(NPC, 19.58, -0.03, -161.15, 2, 0)
  82. MovementLoopAddLocation(NPC, 17.58, -0.14, -165.09, 2, 0)
  83. end