9
3

tomb_sentry.lua 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. --[[
  2. Script Name : tomb_sentry.lua
  3. Script Purpose : Waypoint Path for tomb_sentry.lua
  4. Script Author : Devn00b
  5. Script Date : 06/19/2020 12:41:41 AM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 =13
  11. local level2 = 14
  12. local difficulty1 = 6
  13. local hp1 = 680
  14. local power1 = 205
  15. local difficulty2 = 6
  16. local hp2 = 795
  17. local power2 = 240
  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, 73.05, 0.43, -114.25, 2, math.random(0,7))
  37. MovementLoopAddLocation(NPC, 66.07, -0.23, -108.47, 2, math.random(0,7))
  38. MovementLoopAddLocation(NPC, 52.09, -0.09, -107.06, 2, math.random(0,7))
  39. MovementLoopAddLocation(NPC, 43.58, -0.12, -98.04, 2, math.random(0,7))
  40. MovementLoopAddLocation(NPC, 53.86, 0.02, -86.46, 2, math.random(0,7))
  41. MovementLoopAddLocation(NPC, 58.19, 0.54, -82.6, 2, math.random(0,7))
  42. MovementLoopAddLocation(NPC, 78.96, 0.56, -82.24, 2, math.random(0,7))
  43. MovementLoopAddLocation(NPC, 93.25, 0.2, -81.03, 2, math.random(0,7))
  44. MovementLoopAddLocation(NPC, 96.05, -0.02, -76.01, 2, math.random(0,7))
  45. MovementLoopAddLocation(NPC, 96.51, -0.76, -51.69, 2, math.random(0,7))
  46. MovementLoopAddLocation(NPC, 96.33, 0.17, -38.57, 2, math.random(0,7))
  47. MovementLoopAddLocation(NPC, 88.9, 0.32, -33.06, 2, math.random(0,7))
  48. MovementLoopAddLocation(NPC, 84.28, 0, -33.78, 2, math.random(0,7))
  49. MovementLoopAddLocation(NPC, 76.4, 0.04, -30.33, 2, math.random(0,7))
  50. MovementLoopAddLocation(NPC, 76.79, -0.03, -13.43, 2, math.random(0,7))
  51. MovementLoopAddLocation(NPC, 76.39, 0.01, -31.22, 2, math.random(0,7))
  52. MovementLoopAddLocation(NPC, 62.97, 0.29, -33.62, 2, math.random(0,7))
  53. MovementLoopAddLocation(NPC, 59.74, 0.12, -47.6, 2, math.random(0,7))
  54. MovementLoopAddLocation(NPC, 51.9, -0.11, -49.43, 2, math.random(0,7))
  55. MovementLoopAddLocation(NPC, 44.29, -0.1, -48.96, 2, math.random(0,7))
  56. MovementLoopAddLocation(NPC, 44.43, 0, -39.05, 2, math.random(0,7))
  57. MovementLoopAddLocation(NPC, 38.39, -0.07, -31.64, 2, math.random(0,7))
  58. MovementLoopAddLocation(NPC, 27.44, 0.11, -21.83, 2, math.random(0,7))
  59. MovementLoopAddLocation(NPC, 26.67, 0.06, -2.91, 2, math.random(0,7))
  60. MovementLoopAddLocation(NPC, 28.15, 0.03, 7.82, 2, math.random(0,7))
  61. MovementLoopAddLocation(NPC, 30.85, -0.11, 16.65, 2, math.random(0,7))
  62. MovementLoopAddLocation(NPC, 28.15, 0.03, 7.82, 2, math.random(0,7))
  63. MovementLoopAddLocation(NPC, 26.67, 0.06, -2.91, 2, math.random(0,7))
  64. MovementLoopAddLocation(NPC, 27.44, 0.11, -21.83, 2, math.random(0,7))
  65. MovementLoopAddLocation(NPC, 38.39, -0.07, -31.64, 2, math.random(0,7))
  66. MovementLoopAddLocation(NPC, 44.43, 0, -39.05, 2, math.random(0,7))
  67. MovementLoopAddLocation(NPC, 44.29, -0.1, -48.96, 2, math.random(0,7))
  68. MovementLoopAddLocation(NPC, 51.9, -0.11, -49.43, 2, math.random(0,7))
  69. MovementLoopAddLocation(NPC, 59.74, 0.12, -47.6, 2, math.random(0,7))
  70. MovementLoopAddLocation(NPC, 62.97, 0.29, -33.62, 2, math.random(0,7))
  71. MovementLoopAddLocation(NPC, 76.39, 0.01, -31.22, 2, math.random(0,7))
  72. MovementLoopAddLocation(NPC, 76.79, -0.03, -13.43, 2, math.random(0,7))
  73. MovementLoopAddLocation(NPC, 76.4, 0.04, -30.33, 2, math.random(0,7))
  74. MovementLoopAddLocation(NPC, 84.28, 0, -33.78, 2, math.random(0,7))
  75. MovementLoopAddLocation(NPC, 88.9, 0.32, -33.06, 2, math.random(0,7))
  76. MovementLoopAddLocation(NPC, 96.33, 0.17, -38.57, 2, math.random(0,7))
  77. MovementLoopAddLocation(NPC, 96.51, -0.76, -51.69, 2, math.random(0,7))
  78. MovementLoopAddLocation(NPC, 96.05, -0.02, -76.01, 2, math.random(0,7))
  79. MovementLoopAddLocation(NPC, 93.25, 0.2, -81.03, 2, math.random(0,7))
  80. MovementLoopAddLocation(NPC, 78.96, 0.56, -82.24, 2, math.random(0,7))
  81. MovementLoopAddLocation(NPC, 58.19, 0.54, -82.6, 2, math.random(0,7))
  82. MovementLoopAddLocation(NPC, 53.86, 0.02, -86.46, 2, math.random(0,7))
  83. MovementLoopAddLocation(NPC, 43.58, -0.12, -98.04, 2, math.random(0,7))
  84. MovementLoopAddLocation(NPC, 52.09, -0.09, -107.06, 2, math.random(0,7))
  85. MovementLoopAddLocation(NPC, 66.07, -0.23, -108.47, 2, math.random(0,7))
  86. MovementLoopAddLocation(NPC, 73.05, 0.43, -114.25, 2, math.random(0,7))
  87. end