9
3

amorakdevourer1587716.lua 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer1587716.lua
  3. Script Purpose : Waypoint Path for amorakdevourer1587716.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:09:53
  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", 110)
  13. SpawnSet(NPC, "power", 55)
  14. end
  15. waypoints(NPC)
  16. end
  17. function hailed(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 240.07, -1.72, -98.04, 2, math.random(14, 25))
  25. MovementLoopAddLocation(NPC, 262.42, -1.16, -85.05, 2, math.random(14, 25))
  26. MovementLoopAddLocation(NPC, 259.25, -1.51, -72.78, 2, math.random(14, 25))
  27. MovementLoopAddLocation(NPC, 245.03, -1.09, -95.55, 2, math.random(14, 25))
  28. MovementLoopAddLocation(NPC, 261.05, -1.52, -65.33, 2, math.random(14, 25))
  29. MovementLoopAddLocation(NPC, 245.75, -1.17, -75.96, 2, math.random(14, 25))
  30. MovementLoopAddLocation(NPC, 251.17, -1.48, -69.9, 2, math.random(14, 25))
  31. MovementLoopAddLocation(NPC, 261.28, -1.52, -65.45, 2, 0)
  32. MovementLoopAddLocation(NPC, 265.29, -1.58, -57.84, 2, math.random(14, 25))
  33. MovementLoopAddLocation(NPC, 250.06, -0.53, -87.9, 2, 0)
  34. MovementLoopAddLocation(NPC, 242.74, -1.44, -97.1, 2, math.random(14, 25))
  35. MovementLoopAddLocation(NPC, 246.41, -0.19, -80.94, 2, 0)
  36. MovementLoopAddLocation(NPC, 251.35, -1.48, -73.67, 2, math.random(14, 25))
  37. MovementLoopAddLocation(NPC, 244.14, -0.74, -80.36, 2, math.random(14, 25))
  38. end