venomous_watcher.lua 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. --[[
  2. Script Name : venomous_watcher.lua
  3. Script Purpose : Waypoint Path for venomous_watcher.lua
  4. Script Author : Devn00b
  5. Script Date : 05/13/2020 01:25:49 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, -124.96, 0, -204.59, 2, math.random(0,20))
  38. MovementLoopAddLocation(NPC, -120.01, 0, -204.38, 2, math.random(0,20))
  39. MovementLoopAddLocation(NPC, -130.38, 0, -198.83, 2, math.random(0,20))
  40. MovementLoopAddLocation(NPC, -126.18, 0, -190.96, 2, math.random(0,20))
  41. MovementLoopAddLocation(NPC, -120.38, 0, -191.53, 2, math.random(0,20))
  42. MovementLoopAddLocation(NPC, -120.98, 0, -197.21, 2, math.random(0,20))
  43. MovementLoopAddLocation(NPC, -130.1, 0, -195.81, 2, math.random(0,20))
  44. MovementLoopAddLocation(NPC, -128.21, 0, -201.39, 2, math.random(0,20))
  45. MovementLoopAddLocation(NPC, -125.14, 0, -194.99, 2, math.random(0,20))
  46. MovementLoopAddLocation(NPC, -128.26, 0, -206.78, 2, math.random(0,20))
  47. MovementLoopAddLocation(NPC, -130.5, 0, -206.69, 2, math.random(0,20))
  48. MovementLoopAddLocation(NPC, -120.84, 0, -200.89, 2, math.random(0,20))
  49. MovementLoopAddLocation(NPC, -120.43, 0, -205, 2, math.random(0,20))
  50. MovementLoopAddLocation(NPC, -123.2, 0, -201.62, 2, math.random(0,20))
  51. MovementLoopAddLocation(NPC, -127.74, 0, -202.5, 2, math.random(0,20))
  52. MovementLoopAddLocation(NPC, -127.77, 0, -199.08, 2, math.random(0,20))
  53. MovementLoopAddLocation(NPC, -129.99, 0, -199.08, 2, math.random(0,20))
  54. MovementLoopAddLocation(NPC, -130, 0, -195.78, 2, math.random(0,20))
  55. MovementLoopAddLocation(NPC, -125.71, 0, -195.11, 2, math.random(0,20))
  56. MovementLoopAddLocation(NPC, -128.07, 0, -191.71, 2, math.random(0,20))
  57. MovementLoopAddLocation(NPC, -124.12, 0, -191.24, 2, math.random(0,20))
  58. MovementLoopAddLocation(NPC, -128.27, 0, -206.28, 2, math.random(0,20))
  59. MovementLoopAddLocation(NPC, -123.36, 0, -202, 2, math.random(0,20))
  60. MovementLoopAddLocation(NPC, -128.27, 0, -206.28, 2, math.random(0,20))
  61. MovementLoopAddLocation(NPC, -124.12, 0, -191.24, 2, math.random(0,20))
  62. MovementLoopAddLocation(NPC, -128.07, 0, -191.71, 2, math.random(0,20))
  63. MovementLoopAddLocation(NPC, -125.71, 0, -195.11, 2, math.random(0,20))
  64. MovementLoopAddLocation(NPC, -130, 0, -195.78, 2, math.random(0,20))
  65. MovementLoopAddLocation(NPC, -129.99, 0, -199.08, 2, math.random(0,20))
  66. MovementLoopAddLocation(NPC, -127.77, 0, -199.08, 2, math.random(0,20))
  67. MovementLoopAddLocation(NPC, -127.74, 0, -202.5, 2, math.random(0,20))
  68. MovementLoopAddLocation(NPC, -123.2, 0, -201.62, 2, math.random(0,20))
  69. MovementLoopAddLocation(NPC, -120.43, 0, -205, 2, math.random(0,20))
  70. MovementLoopAddLocation(NPC, -120.84, 0, -200.89, 2, math.random(0,20))
  71. MovementLoopAddLocation(NPC, -130.5, 0, -206.69, 2, math.random(0,20))
  72. MovementLoopAddLocation(NPC, -128.26, 0, -206.78, 2, math.random(0,20))
  73. MovementLoopAddLocation(NPC, -125.14, 0, -194.99, 2, math.random(0,20))
  74. MovementLoopAddLocation(NPC, -128.21, 0, -201.39, 2, math.random(0,20))
  75. MovementLoopAddLocation(NPC, -130.1, 0, -195.81, 2, math.random(0,20))
  76. MovementLoopAddLocation(NPC, -120.98, 0, -197.21, 2, math.random(0,20))
  77. MovementLoopAddLocation(NPC, -120.38, 0, -191.53, 2, math.random(0,20))
  78. MovementLoopAddLocation(NPC, -126.18, 0, -190.96, 2, math.random(0,20))
  79. MovementLoopAddLocation(NPC, -130.38, 0, -198.83, 2, math.random(0,20))
  80. MovementLoopAddLocation(NPC, -120.01, 0, -204.38, 2, math.random(0,20))
  81. MovementLoopAddLocation(NPC, -124.96, 0, -204.59, 2, math.random(0,20))
  82. end