9
3

venomous_keeper.lua 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. --[[
  2. Script Name : venomous_keeper.lua
  3. Script Purpose : Waypoint Path for venomous_keeper.lua
  4. Script Author : Devn00b
  5. Script Date : 05/13/2020 01:48:29 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 = 7
  11. local level2 = 8
  12. local difficulty1 = 6
  13. local hp1 = 200
  14. local power1 = 90
  15. local difficulty2 = 6
  16. local hp2 = 240
  17. local power2 = 100
  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, -115.94, 0, -198.46, 2, math.random(0,20))
  38. MovementLoopAddLocation(NPC, -115.69, 0, -208.82, 2, math.random(0,20))
  39. MovementLoopAddLocation(NPC, -113.12, 0, -204.54, 2, math.random(0,20))
  40. MovementLoopAddLocation(NPC, -109.81, 0, -199.14, 2, math.random(0,20))
  41. MovementLoopAddLocation(NPC, -109.84, 0, -208.57, 2, math.random(0,20))
  42. MovementLoopAddLocation(NPC, -98.23, 0, -208.57, 2, math.random(0,20))
  43. MovementLoopAddLocation(NPC, -97.15, 0, -191.75, 2, math.random(0,20))
  44. MovementLoopAddLocation(NPC, -97.75, 0, -203.75, 2, math.random(0,20))
  45. MovementLoopAddLocation(NPC, -114.45, 0, -207.64, 2, math.random(0,20))
  46. MovementLoopAddLocation(NPC, -109.49, 0, -207.9, 2, math.random(0,20))
  47. MovementLoopAddLocation(NPC, -111.5, 0, -199.3, 2, math.random(0,20))
  48. MovementLoopAddLocation(NPC, -108.85, 0, -202.39, 2, math.random(0,20))
  49. MovementLoopAddLocation(NPC, -105.89, 0, -206.23, 2, math.random(0,20))
  50. MovementLoopAddLocation(NPC, -105.1, 0, -200.45, 2, math.random(0,20))
  51. MovementLoopAddLocation(NPC, -113.37, 0, -208.02, 2, math.random(0,20))
  52. MovementLoopAddLocation(NPC, -112.38, 0, -204.12, 2, math.random(0,20))
  53. MovementLoopAddLocation(NPC, -106.31, 0, -203.68, 2, math.random(0,20))
  54. MovementLoopAddLocation(NPC, -115.63, 0, -204.24, 2, math.random(0,20))
  55. MovementLoopAddLocation(NPC, -128.32, 0, -204.14, 2, math.random(0,20))
  56. MovementLoopAddLocation(NPC, -127.08, 0, -206.99, 2, math.random(0,20))
  57. MovementLoopAddLocation(NPC, -120.73, 1.95, -206.94, 2, math.random(0,20))
  58. MovementLoopAddLocation(NPC, -120.41, 1.96, -209.83, 2, math.random(0,20))
  59. MovementLoopAddLocation(NPC, -132.64, 7, -210.01, 2, math.random(0,20))
  60. MovementLoopAddLocation(NPC, -119.99, 2, -210.34, 2, math.random(0,20))
  61. MovementLoopAddLocation(NPC, -120.51, 1.95, -206.89, 2, math.random(0,20))
  62. MovementLoopAddLocation(NPC, -126.31, 0, -206.92, 2, math.random(0,20))
  63. MovementLoopAddLocation(NPC, -126.62, 0, -205.28, 2, math.random(0,20))
  64. MovementLoopAddLocation(NPC, -116.11, 0, -203.94, 2, math.random(0,20))
  65. MovementLoopAddLocation(NPC, -110.79, 0, -208.94, 2, math.random(0,20))
  66. MovementLoopAddLocation(NPC, -110.1, 0, -198.77, 2, math.random(0,20))
  67. MovementLoopAddLocation(NPC, -106.39, 0, -203.9, 2, math.random(0,20))
  68. MovementLoopAddLocation(NPC, -110.03, 0, -208.2, 2, math.random(0,20))
  69. MovementLoopAddLocation(NPC, -103.28, 0, -200.78, 2, math.random(0,20))
  70. MovementLoopAddLocation(NPC, -110.03, 0, -208.2, 2, math.random(0,20))
  71. MovementLoopAddLocation(NPC, -106.39, 0, -203.9, 2, math.random(0,20))
  72. MovementLoopAddLocation(NPC, -110.1, 0, -198.77, 2, math.random(0,20))
  73. MovementLoopAddLocation(NPC, -110.79, 0, -208.94, 2, math.random(0,20))
  74. MovementLoopAddLocation(NPC, -116.11, 0, -203.94, 2, math.random(0,20))
  75. MovementLoopAddLocation(NPC, -126.62, 0, -205.28, 2, math.random(0,20))
  76. MovementLoopAddLocation(NPC, -126.31, 0, -206.92, 2, math.random(0,20))
  77. MovementLoopAddLocation(NPC, -120.51, 1.95, -206.89, 2, math.random(0,20))
  78. MovementLoopAddLocation(NPC, -119.99, 2, -210.34, 2, math.random(0,20))
  79. MovementLoopAddLocation(NPC, -132.64, 7, -210.01, 2, math.random(0,20))
  80. MovementLoopAddLocation(NPC, -120.41, 1.96, -209.83, 2, math.random(0,20))
  81. MovementLoopAddLocation(NPC, -120.73, 1.95, -206.94, 2, math.random(0,20))
  82. MovementLoopAddLocation(NPC, -127.08, 0, -206.99, 2, math.random(0,20))
  83. MovementLoopAddLocation(NPC, -128.32, 0, -204.14, 2, math.random(0,20))
  84. MovementLoopAddLocation(NPC, -115.63, 0, -204.24, 2, math.random(0,20))
  85. MovementLoopAddLocation(NPC, -106.31, 0, -203.68, 2, math.random(0,20))
  86. MovementLoopAddLocation(NPC, -112.38, 0, -204.12, 2, math.random(0,20))
  87. MovementLoopAddLocation(NPC, -113.37, 0, -208.02, 2, math.random(0,20))
  88. MovementLoopAddLocation(NPC, -105.1, 0, -200.45, 2, math.random(0,20))
  89. MovementLoopAddLocation(NPC, -105.89, 0, -206.23, 2, math.random(0,20))
  90. MovementLoopAddLocation(NPC, -108.85, 0, -202.39, 2, math.random(0,20))
  91. MovementLoopAddLocation(NPC, -111.5, 0, -199.3, 2, math.random(0,20))
  92. MovementLoopAddLocation(NPC, -109.49, 0, -207.9, 2, math.random(0,20))
  93. MovementLoopAddLocation(NPC, -114.45, 0, -207.64, 2, math.random(0,20))
  94. MovementLoopAddLocation(NPC, -97.75, 0, -203.75, 2, math.random(0,20))
  95. MovementLoopAddLocation(NPC, -97.15, 0, -191.75, 2, math.random(0,20))
  96. MovementLoopAddLocation(NPC, -98.23, 0, -208.57, 2, math.random(0,20))
  97. MovementLoopAddLocation(NPC, -109.84, 0, -208.57, 2, math.random(0,20))
  98. MovementLoopAddLocation(NPC, -109.81, 0, -199.14, 2, math.random(0,20))
  99. MovementLoopAddLocation(NPC, -113.12, 0, -204.54, 2, math.random(0,20))
  100. MovementLoopAddLocation(NPC, -115.69, 0, -208.82, 2, math.random(0,20))
  101. MovementLoopAddLocation(NPC, -115.94, 0, -198.46, 2, math.random(0,20))
  102. end