venomous_watcher3.lua 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. --[[
  2. Script Name : venomous_watcher3.lua
  3. Script Purpose : Waypoint Path for venomous_watcher3.lua
  4. Script Author : Devn00b
  5. Script Date : 05/13/2020 01:36:09 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 = 8
  11. local level2 = 9
  12. local difficulty1 = 6
  13. local hp1 = 240
  14. local power1 = 100
  15. local difficulty2 = 6
  16. local hp2 = 275
  17. local power2 = 110
  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. spawn(NPC)
  35. end
  36. function waypoints(NPC)
  37. MovementLoopAddLocation(NPC, -128.91, 0, -190.89, 2, math.random(0,20))
  38. MovementLoopAddLocation(NPC, -111.01, 0, -191.6, 2, math.random(0,20))
  39. MovementLoopAddLocation(NPC, -109.87, -0.06, -181.63, 2, math.random(0,20))
  40. MovementLoopAddLocation(NPC, -110.11, 0, -191.48, 2, math.random(0,20))
  41. MovementLoopAddLocation(NPC, -119.8, 0, -191.58, 2, math.random(0,20))
  42. MovementLoopAddLocation(NPC, -130.92, 0, -204.52, 2, math.random(0,20))
  43. MovementLoopAddLocation(NPC, -131.05, 0, -193.37, 2, math.random(0,20))
  44. MovementLoopAddLocation(NPC, -118.99, 0, -205.25, 2, math.random(0,20))
  45. MovementLoopAddLocation(NPC, -124.57, 0, -203.12, 2, math.random(0,20))
  46. MovementLoopAddLocation(NPC, -128.18, 0, -206.33, 2, math.random(0,20))
  47. MovementLoopAddLocation(NPC, -127.58, 0, -202.19, 2, math.random(0,20))
  48. MovementLoopAddLocation(NPC, -124.67, 0, -200.21, 2, math.random(0,20))
  49. MovementLoopAddLocation(NPC, -124.95, 0, -193.74, 2, math.random(0,20))
  50. MovementLoopAddLocation(NPC, -121.35, 0, -193.5, 2, math.random(0,20))
  51. MovementLoopAddLocation(NPC, -129.81, 0, -196.61, 2, math.random(0,20))
  52. MovementLoopAddLocation(NPC, -122.61, 0, -204.3, 2, math.random(0,20))
  53. MovementLoopAddLocation(NPC, -130.63, 0, -201.75, 2, math.random(0,20))
  54. MovementLoopAddLocation(NPC, -127.53, 0, -198.71, 2, math.random(0,20))
  55. MovementLoopAddLocation(NPC, -123.07, 0, -194.36, 2, math.random(0,20))
  56. MovementLoopAddLocation(NPC, -125.9, 0, -201.96, 2, math.random(0,20))
  57. MovementLoopAddLocation(NPC, -130.07, 0, -196.74, 2, math.random(0,20))
  58. MovementLoopAddLocation(NPC, -120.75, 0, -193.27, 2, math.random(0,20))
  59. MovementLoopAddLocation(NPC, -125.03, 0, -203.08, 2, math.random(0,20))
  60. MovementLoopAddLocation(NPC, -126.41, 0, -198.29, 2, math.random(0,20))
  61. MovementLoopAddLocation(NPC, -124.54, 0, -196.38, 2, math.random(0,20))
  62. MovementLoopAddLocation(NPC, -124.61, 0, -203.84, 2, math.random(0,20))
  63. MovementLoopAddLocation(NPC, -119.49, 0, -204, 2, math.random(0,20))
  64. MovementLoopAddLocation(NPC, -124.61, 0, -203.84, 2, math.random(0,20))
  65. MovementLoopAddLocation(NPC, -124.54, 0, -196.38, 2, math.random(0,20))
  66. MovementLoopAddLocation(NPC, -126.41, 0, -198.29, 2, math.random(0,20))
  67. MovementLoopAddLocation(NPC, -125.03, 0, -203.08, 2, math.random(0,20))
  68. MovementLoopAddLocation(NPC, -120.75, 0, -193.27, 2, math.random(0,20))
  69. MovementLoopAddLocation(NPC, -130.07, 0, -196.74, 2, math.random(0,20))
  70. MovementLoopAddLocation(NPC, -125.9, 0, -201.96, 2, math.random(0,20))
  71. MovementLoopAddLocation(NPC, -123.07, 0, -194.36, 2, math.random(0,20))
  72. MovementLoopAddLocation(NPC, -127.53, 0, -198.71, 2, math.random(0,20))
  73. MovementLoopAddLocation(NPC, -130.63, 0, -201.75, 2, math.random(0,20))
  74. MovementLoopAddLocation(NPC, -122.61, 0, -204.3, 2, math.random(0,20))
  75. MovementLoopAddLocation(NPC, -129.81, 0, -196.61, 2, math.random(0,20))
  76. MovementLoopAddLocation(NPC, -121.35, 0, -193.5, 2, math.random(0,20))
  77. MovementLoopAddLocation(NPC, -124.95, 0, -193.74, 2, math.random(0,20))
  78. MovementLoopAddLocation(NPC, -124.67, 0, -200.21, 2, math.random(0,20))
  79. MovementLoopAddLocation(NPC, -127.58, 0, -202.19, 2, math.random(0,20))
  80. MovementLoopAddLocation(NPC, -128.18, 0, -206.33, 2, math.random(0,20))
  81. MovementLoopAddLocation(NPC, -124.57, 0, -203.12, 2, math.random(0,20))
  82. MovementLoopAddLocation(NPC, -118.99, 0, -205.25, 2, math.random(0,20))
  83. MovementLoopAddLocation(NPC, -131.05, 0, -193.37, 2, math.random(0,20))
  84. MovementLoopAddLocation(NPC, -130.92, 0, -204.52, 2, math.random(0,20))
  85. MovementLoopAddLocation(NPC, -119.8, 0, -191.58, 2, math.random(0,20))
  86. MovementLoopAddLocation(NPC, -110.11, 0, -191.48, 2, math.random(0,20))
  87. MovementLoopAddLocation(NPC, -109.87, -0.06, -181.63, 2, math.random(0,20))
  88. MovementLoopAddLocation(NPC, -111.01, 0, -191.6, 2, math.random(0,20))
  89. MovementLoopAddLocation(NPC, -128.91, 0, -190.89, 2, math.random(0,20))
  90. end