9
3

amorakdevourer1587722.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer1587722.lua
  3. Script Purpose : Waypoint Path for amorakdevourer1587722.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:10:17
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local level = GetLevel(NPC)
  10. if level == 4 then
  11. SpawnSet(NPC, "size", "28.8")
  12. end
  13. waypoints(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end
  21. function waypoints(NPC)
  22. MovementLoopAddLocation(NPC, 235.76, -1.42, -107.23, 2, math.random(14, 25))
  23. MovementLoopAddLocation(NPC, 235.8, -1.11, -113.49, 2, math.random(14, 25))
  24. MovementLoopAddLocation(NPC, 245.76, -0.58, -88.28, 2, 0)
  25. MovementLoopAddLocation(NPC, 248.48, -0.76, -76.67, 2, 0)
  26. MovementLoopAddLocation(NPC, 257, -0.79, -58.81, 2, math.random(14, 25))
  27. MovementLoopAddLocation(NPC, 256.16, -1.23, -63.07, 2, 0)
  28. MovementLoopAddLocation(NPC, 255.51, -0.92, -80.68, 2, math.random(14, 25))
  29. MovementLoopAddLocation(NPC, 249.78, -1.42, -67.64, 2, math.random(14, 25))
  30. MovementLoopAddLocation(NPC, 241.26, -0.87, -91.55, 2, math.random(14, 25))
  31. MovementLoopAddLocation(NPC, 242.7, -1.19, -98.39, 2, math.random(14, 25))
  32. MovementLoopAddLocation(NPC, 255.72, -1.26, -89.32, 2, math.random(14, 25))
  33. MovementLoopAddLocation(NPC, 262.48, -1.28, -81.14, 2, math.random(14, 25))
  34. MovementLoopAddLocation(NPC, 266.92, -1.54, -70.28, 2, math.random(14, 25))
  35. MovementLoopAddLocation(NPC, 260.22, -1.5, -61.64, 2, 0)
  36. MovementLoopAddLocation(NPC, 251.88, -0.71, -59.82, 2, math.random(14, 25))
  37. MovementLoopAddLocation(NPC, 249.94, -1.42, -67.52, 2, math.random(14, 25))
  38. MovementLoopAddLocation(NPC, 255.45, -1.23, -76.21, 2, math.random(14, 25))
  39. end