9
3

amorakdevourer1587723.lua 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer1587723.lua
  3. Script Purpose : Waypoint Path for amorakdevourer1587723.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:10:23
  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. SpawnSet(NPC, "difficulty", "2")
  14. waypoints(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end
  22. function waypoints(NPC)
  23. MovementLoopAddLocation(NPC, 242.64, -0.89, -135.27, 2, math.random(14, 25))
  24. MovementLoopAddLocation(NPC, 240.1, -1, -123.81, 2, 0)
  25. MovementLoopAddLocation(NPC, 239.29, -0.94, -116.12, 2, math.random(14, 25))
  26. MovementLoopAddLocation(NPC, 239.61, -1.07, -103.68, 2, 0)
  27. MovementLoopAddLocation(NPC, 243.9, -0.95, -98.44, 2, 0)
  28. MovementLoopAddLocation(NPC, 252.72, -1.06, -91.81, 2, 0)
  29. MovementLoopAddLocation(NPC, 257.46, -1.17, -86.61, 2, math.random(14, 25))
  30. MovementLoopAddLocation(NPC, 241.58, -1.11, -100.49, 2, 0)
  31. MovementLoopAddLocation(NPC, 239.03, -1.24, -104.25, 2, 0)
  32. MovementLoopAddLocation(NPC, 239.26, -1.06, -114.95, 2, math.random(14, 25))
  33. MovementLoopAddLocation(NPC, 238.26, -1.57, -103.06, 2, math.random(14, 25))
  34. MovementLoopAddLocation(NPC, 230.12, -0.82, -124.87, 2, math.random(14, 25))
  35. MovementLoopAddLocation(NPC, 232.98, -1.34, -106.61, 2, math.random(14, 25))
  36. MovementLoopAddLocation(NPC, 242.67, -0.87, -87.39, 2, math.random(14, 25))
  37. MovementLoopAddLocation(NPC, 234.26, -1.05, -113.35, 2, math.random(14, 25))
  38. end