amorakdevourer1587717.lua 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer1587717.lua
  3. Script Purpose : Waypoint Path for amorakdevourer1587717.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:09:55
  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. SpawnSet(NPC, "hp", 35)
  13. SpawnSet(NPC, "power", 20)
  14. end
  15. SpawnSet(NPC, "difficulty", "2")
  16. waypoints(NPC)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end
  24. function waypoints(NPC)
  25. MovementLoopAddLocation(NPC, 264.21, -1.5, -75.9, 2, math.random(14, 25))
  26. MovementLoopAddLocation(NPC, 264.42, -1.53, -70.37, 2, 0)
  27. MovementLoopAddLocation(NPC, 260.91, -1.55, -55.04, 2, math.random(14, 25))
  28. MovementLoopAddLocation(NPC, 260.96, -1.52, -63.07, 2, 0)
  29. MovementLoopAddLocation(NPC, 252.73, -0.7, -87.51, 2, math.random(14, 25))
  30. MovementLoopAddLocation(NPC, 278.02, -1.44, -58.06, 2, math.random(14, 25))
  31. MovementLoopAddLocation(NPC, 269.58, -1.6, -57.7, 2, 0)
  32. MovementLoopAddLocation(NPC, 258.92, -1.51, -66.93, 2, 0)
  33. MovementLoopAddLocation(NPC, 249.88, -1.48, -72.22, 2, math.random(14, 25))
  34. MovementLoopAddLocation(NPC, 257.7, -1.5, -72.26, 2, math.random(14, 25))
  35. MovementLoopAddLocation(NPC, 252.77, -0.56, -86.54, 2, 0)
  36. MovementLoopAddLocation(NPC, 248.72, -0.89, -92.79, 2, 0)
  37. MovementLoopAddLocation(NPC, 239.25, -1.39, -102.35, 2, 0)
  38. MovementLoopAddLocation(NPC, 234.29, -1.35, -117.87, 2, math.random(14, 25))
  39. MovementLoopAddLocation(NPC, 242.67, -0.87, -87.45, 2, math.random(14, 25))
  40. MovementLoopAddLocation(NPC, 247.66, -0.17, -79.48, 2, 0)
  41. MovementLoopAddLocation(NPC, 264.23, -1.53, -60.12, 2, math.random(14, 25))
  42. MovementLoopAddLocation(NPC, 261.11, -1.52, -64.59, 2, 0)
  43. MovementLoopAddLocation(NPC, 251.31, -1.48, -72.22, 2, math.random(14, 25))
  44. end