9
3

tomb_sentry2.lua 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. --[[
  2. Script Name : tomb_sentry2.lua
  3. Script Purpose : Waypoint Path for tomb_sentry2.lua
  4. Script Author : Devn00b
  5. Script Date : 06/19/2020 12:51:03 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, 52.41, -0.03, -88.32, 2, math.random(0,7))
  37. MovementLoopAddLocation(NPC, 44.04, -0.17, -97.11, 2, math.random(0,7))
  38. MovementLoopAddLocation(NPC, 32.74, 0.01, -86.51, 2, math.random(0,7))
  39. MovementLoopAddLocation(NPC, 35.46, 0.53, -71.31, 2, math.random(0,7))
  40. MovementLoopAddLocation(NPC, 40.35, 0.08, -69, 2, math.random(0,7))
  41. MovementLoopAddLocation(NPC, 44.58, 0.59, -60.46, 2, math.random(0,7))
  42. MovementLoopAddLocation(NPC, 44.18, -0.08, -49.27, 2, math.random(0,7))
  43. MovementLoopAddLocation(NPC, 57.63, 0.05, -48.26, 2, math.random(0,7))
  44. MovementLoopAddLocation(NPC, 60.6, 0.02, -44.85, 2, math.random(0,7))
  45. MovementLoopAddLocation(NPC, 62.16, 0.13, -34.52, 2, math.random(0,7))
  46. MovementLoopAddLocation(NPC, 67.67, 0.07, -31.02, 2, math.random(0,7))
  47. MovementLoopAddLocation(NPC, 85.82, 0, -32.01, 2, math.random(0,7))
  48. MovementLoopAddLocation(NPC, 89.33, 0.11, -32.19, 2, math.random(0,7))
  49. MovementLoopAddLocation(NPC, 96.29, 0.18, -38.75, 2, math.random(0,7))
  50. MovementLoopAddLocation(NPC, 95, 0.4, -56.5, 2, math.random(0,7))
  51. MovementLoopAddLocation(NPC, 97.11, 0.01, -71.06, 2, math.random(0,7))
  52. MovementLoopAddLocation(NPC, 95.09, 0.04, -79.56, 2, math.random(0,7))
  53. MovementLoopAddLocation(NPC, 84.96, 0.06, -83.43, 2, math.random(0,7))
  54. MovementLoopAddLocation(NPC, 59.48, 0.47, -83.61, 2, math.random(0,7))
  55. MovementLoopAddLocation(NPC, 54.67, 0.07, -87.4, 2, math.random(0,7))
  56. MovementLoopAddLocation(NPC, 59.48, 0.47, -83.61, 2, math.random(0,7))
  57. MovementLoopAddLocation(NPC, 84.96, 0.06, -83.43, 2, math.random(0,7))
  58. MovementLoopAddLocation(NPC, 95.09, 0.04, -79.56, 2, math.random(0,7))
  59. MovementLoopAddLocation(NPC, 97.11, 0.01, -71.06, 2, math.random(0,7))
  60. MovementLoopAddLocation(NPC, 95, 0.4, -56.5, 2, math.random(0,7))
  61. MovementLoopAddLocation(NPC, 96.29, 0.18, -38.75, 2, math.random(0,7))
  62. MovementLoopAddLocation(NPC, 89.33, 0.11, -32.19, 2, math.random(0,7))
  63. MovementLoopAddLocation(NPC, 85.82, 0, -32.01, 2, math.random(0,7))
  64. MovementLoopAddLocation(NPC, 67.67, 0.07, -31.02, 2, math.random(0,7))
  65. MovementLoopAddLocation(NPC, 62.16, 0.13, -34.52, 2, math.random(0,7))
  66. MovementLoopAddLocation(NPC, 60.6, 0.02, -44.85, 2, math.random(0,7))
  67. MovementLoopAddLocation(NPC, 57.63, 0.05, -48.26, 2, math.random(0,7))
  68. MovementLoopAddLocation(NPC, 44.18, -0.08, -49.27, 2, math.random(0,7))
  69. MovementLoopAddLocation(NPC, 44.58, 0.59, -60.46, 2, math.random(0,7))
  70. MovementLoopAddLocation(NPC, 40.35, 0.08, -69, 2, math.random(0,7))
  71. MovementLoopAddLocation(NPC, 35.46, 0.53, -71.31, 2, math.random(0,7))
  72. MovementLoopAddLocation(NPC, 32.74, 0.01, -86.51, 2, math.random(0,7))
  73. MovementLoopAddLocation(NPC, 44.04, -0.17, -97.11, 2, math.random(0,7))
  74. MovementLoopAddLocation(NPC, 52.41, -0.03, -88.32, 2, math.random(0,7))
  75. end