amorakdevourer1587719.lua 968 B

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer1587719.lua
  3. Script Purpose : Waypoint Path for amorakdevourer1587719.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:10:04
  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, 244.1, -0.87, -134.98, 2, math.random(14, 25))
  23. MovementLoopAddLocation(NPC, 238.68, -1, -115.41, 2, math.random(14, 25))
  24. MovementLoopAddLocation(NPC, 238.32, -0.85, -142.88, 2, math.random(14, 25))
  25. MovementLoopAddLocation(NPC, 239.91, -0.85, -132.82, 2, math.random(14, 25))
  26. MovementLoopAddLocation(NPC, 230.24, -1, -101.2, 2, math.random(14, 25))
  27. end