9
3

tomb_vermin16.lua 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. --[[
  2. Script Name : tomb_vermin16.lua
  3. Script Purpose : Waypoint Path for tomb_vermin16.lua
  4. Script Author : Devn00b
  5. Script Date : 06/30/2020 08:47:27 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, 239.86, -6.86, -103.56, 2, 0)
  37. MovementLoopAddLocation(NPC, 242.67, -6.86, -120.37, 2, 0)
  38. MovementLoopAddLocation(NPC, 243.03, -6.66, -130.08, 2, 0)
  39. MovementLoopAddLocation(NPC, 243.12, -6.86, -135.79, 2, 0)
  40. MovementLoopAddLocation(NPC, 254.44, -6.86, -135.6, 2, 0)
  41. MovementLoopAddLocation(NPC, 234.18, -6.86, -136.28, 2, 0)
  42. MovementLoopAddLocation(NPC, 234.94, -6.86, -157.62, 2, 0)
  43. MovementLoopAddLocation(NPC, 252.08, -6.86, -156.25, 2, 0)
  44. MovementLoopAddLocation(NPC, 240.86, -6.86, -173.02, 2, 0)
  45. MovementLoopAddLocation(NPC, 251.8, -6.86, -168.89, 2, 0)
  46. MovementLoopAddLocation(NPC, 249.41, -6.86, -173.57, 2, 0)
  47. MovementLoopAddLocation(NPC, 249.8, -6.98, -181, 2, 0)
  48. MovementLoopAddLocation(NPC, 258.97, -6.99, -192.11, 2, 0)
  49. MovementLoopAddLocation(NPC, 256.74, -6.92, -201.05, 2, 0)
  50. MovementLoopAddLocation(NPC, 252.44, -6.98, -203.48, 2, 0)
  51. MovementLoopAddLocation(NPC, 226.66, -7.03, -203.34, 2, 0)
  52. MovementLoopAddLocation(NPC, 213.61, -7.05, -192.05, 2, 0)
  53. MovementLoopAddLocation(NPC, 207.34, -7.05, -184.37, 2, 0)
  54. MovementLoopAddLocation(NPC, 208.74, -7.01, -173.01, 2, 0)
  55. MovementLoopAddLocation(NPC, 207.81, -7.07, -170.63, 2, 0)
  56. MovementLoopAddLocation(NPC, 197.37, -7.04, -165, 2, 0)
  57. MovementLoopAddLocation(NPC, 177.91, -7.02, -165.37, 2, 0)
  58. MovementLoopAddLocation(NPC, 171.95, -6.98, -171.47, 2, 0)
  59. MovementLoopAddLocation(NPC, 168.77, -6.97, -180.18, 2, 0)
  60. MovementLoopAddLocation(NPC, 168.89, -6.94, -186.57, 2, 0)
  61. MovementLoopAddLocation(NPC, 168.77, -6.97, -180.18, 2, 0)
  62. MovementLoopAddLocation(NPC, 171.95, -6.98, -171.47, 2, 0)
  63. MovementLoopAddLocation(NPC, 177.91, -7.02, -165.37, 2, 0)
  64. MovementLoopAddLocation(NPC, 197.37, -7.04, -165, 2, 0)
  65. MovementLoopAddLocation(NPC, 207.81, -7.07, -170.63, 2, 0)
  66. MovementLoopAddLocation(NPC, 208.74, -7.01, -173.01, 2, 0)
  67. MovementLoopAddLocation(NPC, 207.34, -7.05, -184.37, 2, 0)
  68. MovementLoopAddLocation(NPC, 213.61, -7.05, -192.05, 2, 0)
  69. MovementLoopAddLocation(NPC, 226.66, -7.03, -203.34, 2, 0)
  70. MovementLoopAddLocation(NPC, 252.44, -6.98, -203.48, 2, 0)
  71. MovementLoopAddLocation(NPC, 256.74, -6.92, -201.05, 2, 0)
  72. MovementLoopAddLocation(NPC, 258.97, -6.99, -192.11, 2, 0)
  73. MovementLoopAddLocation(NPC, 249.8, -6.98, -181, 2, 0)
  74. MovementLoopAddLocation(NPC, 249.41, -6.86, -173.57, 2, 0)
  75. MovementLoopAddLocation(NPC, 251.8, -6.86, -168.89, 2, 0)
  76. MovementLoopAddLocation(NPC, 240.86, -6.86, -173.02, 2, 0)
  77. MovementLoopAddLocation(NPC, 252.08, -6.86, -156.25, 2, 0)
  78. MovementLoopAddLocation(NPC, 234.94, -6.86, -157.62, 2, 0)
  79. MovementLoopAddLocation(NPC, 234.18, -6.86, -136.28, 2, 0)
  80. MovementLoopAddLocation(NPC, 254.44, -6.86, -135.6, 2, 0)
  81. MovementLoopAddLocation(NPC, 243.12, -6.86, -135.79, 2, 0)
  82. MovementLoopAddLocation(NPC, 243.03, -6.66, -130.08, 2, 0)
  83. MovementLoopAddLocation(NPC, 242.67, -6.86, -120.37, 2, 0)
  84. MovementLoopAddLocation(NPC, 239.86, -6.86, -103.56, 2, 0)
  85. end