venomous_watcher2.lua 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. --[[
  2. Script Name : venomous_watcher2.lua
  3. Script Purpose : Waypoint Path for venomous_watcher2.lua
  4. Script Author : Devn00b
  5. Script Date : 05/13/2020 01:30:21 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, -126.43, 0, -197.7, 2, math.random(0,20))
  38. MovementLoopAddLocation(NPC, -128.02, 0, -206.68, 2, math.random(0,20))
  39. MovementLoopAddLocation(NPC, -120.97, 0, -200.74, 2, math.random(0,20))
  40. MovementLoopAddLocation(NPC, -121.23, 0, -191.26, 2, math.random(0,20))
  41. MovementLoopAddLocation(NPC, -119.06, 0, -191.63, 2, math.random(0,20))
  42. MovementLoopAddLocation(NPC, -105.5, 0, -191.53, 2, math.random(0,20))
  43. MovementLoopAddLocation(NPC, -108.92, 0, -191.41, 2, math.random(0,20))
  44. MovementLoopAddLocation(NPC, -121.26, 0, -191.72, 2, math.random(0,20))
  45. MovementLoopAddLocation(NPC, -120.68, 0, -203.09, 2, math.random(0,20))
  46. MovementLoopAddLocation(NPC, -125.9, 0, -205.65, 2, math.random(0,20))
  47. MovementLoopAddLocation(NPC, -130.56, 0, -205.87, 2, math.random(0,20))
  48. MovementLoopAddLocation(NPC, -129.6, 0, -200.82, 2, math.random(0,20))
  49. MovementLoopAddLocation(NPC, -125.6, 0, -200.55, 2, math.random(0,20))
  50. MovementLoopAddLocation(NPC, -126.32, 0, -194.57, 2, math.random(0,20))
  51. MovementLoopAddLocation(NPC, -123.81, 0, -191.23, 2, math.random(0,20))
  52. MovementLoopAddLocation(NPC, -130.42, 0, -190.42, 2, math.random(0,20))
  53. MovementLoopAddLocation(NPC, -129.15, 0, -194.24, 2, math.random(0,20))
  54. MovementLoopAddLocation(NPC, -127.48, 0, -198.53, 2, math.random(0,20))
  55. MovementLoopAddLocation(NPC, -125.03, 0, -203.53, 2, math.random(0,20))
  56. MovementLoopAddLocation(NPC, -129.86, 0, -197.24, 2, math.random(0,20))
  57. MovementLoopAddLocation(NPC, -120.32, 0, -194.36, 2, math.random(0,20))
  58. MovementLoopAddLocation(NPC, -122.47, 0, -191.09, 2, math.random(0,20))
  59. MovementLoopAddLocation(NPC, -126.65, 0, -192.17, 2, math.random(0,20))
  60. MovementLoopAddLocation(NPC, -125.87, 0, -204.41, 2, math.random(0,20))
  61. MovementLoopAddLocation(NPC, -130.11, 0, -205.98, 2, math.random(0,20))
  62. MovementLoopAddLocation(NPC, -127.93, 0, -200.87, 2, math.random(0,20))
  63. MovementLoopAddLocation(NPC, -121.43, 0, -200.99, 2, math.random(0,20))
  64. MovementLoopAddLocation(NPC, -127.93, 0, -200.87, 2, math.random(0,20))
  65. MovementLoopAddLocation(NPC, -130.11, 0, -205.98, 2, math.random(0,20))
  66. MovementLoopAddLocation(NPC, -125.87, 0, -204.41, 2, math.random(0,20))
  67. MovementLoopAddLocation(NPC, -126.65, 0, -192.17, 2, math.random(0,20))
  68. MovementLoopAddLocation(NPC, -122.47, 0, -191.09, 2, math.random(0,20))
  69. MovementLoopAddLocation(NPC, -120.32, 0, -194.36, 2, math.random(0,20))
  70. MovementLoopAddLocation(NPC, -129.86, 0, -197.24, 2, math.random(0,20))
  71. MovementLoopAddLocation(NPC, -125.03, 0, -203.53, 2, math.random(0,20))
  72. MovementLoopAddLocation(NPC, -127.48, 0, -198.53, 2, math.random(0,20))
  73. MovementLoopAddLocation(NPC, -129.15, 0, -194.24, 2, math.random(0,20))
  74. MovementLoopAddLocation(NPC, -130.42, 0, -190.42, 2, math.random(0,20))
  75. MovementLoopAddLocation(NPC, -123.81, 0, -191.23, 2, math.random(0,20))
  76. MovementLoopAddLocation(NPC, -126.32, 0, -194.57, 2, math.random(0,20))
  77. MovementLoopAddLocation(NPC, -125.6, 0, -200.55, 2, math.random(0,20))
  78. MovementLoopAddLocation(NPC, -129.6, 0, -200.82, 2, math.random(0,20))
  79. MovementLoopAddLocation(NPC, -130.56, 0, -205.87, 2, math.random(0,20))
  80. MovementLoopAddLocation(NPC, -125.9, 0, -205.65, 2, math.random(0,20))
  81. MovementLoopAddLocation(NPC, -120.68, 0, -203.09, 2, math.random(0,20))
  82. MovementLoopAddLocation(NPC, -121.26, 0, -191.72, 2, math.random(0,20))
  83. MovementLoopAddLocation(NPC, -108.92, 0, -191.41, 2, math.random(0,20))
  84. MovementLoopAddLocation(NPC, -105.5, 0, -191.53, 2, math.random(0,20))
  85. MovementLoopAddLocation(NPC, -119.06, 0, -191.63, 2, math.random(0,20))
  86. MovementLoopAddLocation(NPC, -121.23, 0, -191.26, 2, math.random(0,20))
  87. MovementLoopAddLocation(NPC, -120.97, 0, -200.74, 2, math.random(0,20))
  88. MovementLoopAddLocation(NPC, -128.02, 0, -206.68, 2, math.random(0,20))
  89. MovementLoopAddLocation(NPC, -126.43, 0, -197.7, 2, math.random(0,20))
  90. end