amorakdevourer428691.lua 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer428691.lua
  3. Script Purpose : Waypoint Path for amorakdevourer428691.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:09:46
  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, 255.49, -1.14, -56.26, 2, math.random(14, 25))
  25. MovementLoopAddLocation(NPC, 255.29, -1.11, -62.59, 2, math.random(14, 25))
  26. MovementLoopAddLocation(NPC, 253.84, -0.86, -87.49, 2, math.random(14, 25))
  27. MovementLoopAddLocation(NPC, 247.83, -0.89, -91.54, 2, 0)
  28. MovementLoopAddLocation(NPC, 240.23, -1.68, -98.25, 2, math.random(14, 25))
  29. MovementLoopAddLocation(NPC, 248.14, -0.52, -87.86, 2, 0)
  30. MovementLoopAddLocation(NPC, 251.35, -0.13, -84.63, 2, 0)
  31. MovementLoopAddLocation(NPC, 253.24, -0.37, -81.97, 2, math.random(14, 25))
  32. MovementLoopAddLocation(NPC, 256.6, -1.01, -77.77, 2, 0)
  33. MovementLoopAddLocation(NPC, 264.23, -1.53, -71.61, 2, 0)
  34. MovementLoopAddLocation(NPC, 263.32, -1.53, -62.95, 2, math.random(14, 25))
  35. MovementLoopAddLocation(NPC, 265.59, -1.64, -56.86, 2, math.random(14, 25))
  36. end