9
3

amorakdevourer1587714.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer1587714.lua
  3. Script Purpose : Waypoint Path for amorakdevourer1587714.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:09:48
  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, 247.42, -0.01, -80.89, 2, math.random(14, 25))
  23. MovementLoopAddLocation(NPC, 246.63, -0.8, -89.82, 2, 0)
  24. MovementLoopAddLocation(NPC, 238.22, -1.32, -107.08, 2, 0)
  25. MovementLoopAddLocation(NPC, 244.2, -0.82, -131.46, 2, math.random(14, 25))
  26. MovementLoopAddLocation(NPC, 243.01, -0.9, -122.71, 2, 0)
  27. MovementLoopAddLocation(NPC, 240.29, -0.8, -115.84, 2, 0)
  28. MovementLoopAddLocation(NPC, 238.56, -1.2, -107.06, 2, 0)
  29. MovementLoopAddLocation(NPC, 240.96, -1.28, -100.47, 2, 0)
  30. MovementLoopAddLocation(NPC, 266.22, -1.54, -72.73, 2, math.random(14, 25))
  31. MovementLoopAddLocation(NPC, 251.84, -0.33, -85.27, 2, 0)
  32. MovementLoopAddLocation(NPC, 247.73, -0.6, -88.39, 2, 0)
  33. MovementLoopAddLocation(NPC, 240.4, -1.21, -95.8, 2, 0)
  34. MovementLoopAddLocation(NPC, 237.32, -1.38, -108.87, 2, 0)
  35. MovementLoopAddLocation(NPC, 238.46, -0.85, -135.25, 2, math.random(14, 25))
  36. MovementLoopAddLocation(NPC, 231.59, -1.04, -111.46, 2, math.random(14, 25))
  37. MovementLoopAddLocation(NPC, 232.32, -1.04, -113.13, 2, 0)
  38. MovementLoopAddLocation(NPC, 241.58, -0.88, -133.16, 2, math.random(14, 25))
  39. MovementLoopAddLocation(NPC, 239.44, -0.85, -128.58, 2, 0)
  40. MovementLoopAddLocation(NPC, 234.24, -1.47, -106.43, 2, math.random(14, 25))
  41. end