9
3

amorakdevourer1587721.lua 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer1587721.lua
  3. Script Purpose : Waypoint Path for amorakdevourer1587721.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:10:13
  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, 234, -1.05, -111.37, 2, math.random(14, 25))
  25. MovementLoopAddLocation(NPC, 240.02, -1, -103.2, 2, 0)
  26. MovementLoopAddLocation(NPC, 245.7, -1, -96.86, 2, 0)
  27. MovementLoopAddLocation(NPC, 274.26, -1.56, -73.91, 2, math.random(14, 25))
  28. MovementLoopAddLocation(NPC, 265.29, -1.53, -69.73, 2, math.random(14, 25))
  29. MovementLoopAddLocation(NPC, 264.78, -1.53, -59.6, 2, math.random(14, 25))
  30. MovementLoopAddLocation(NPC, 265.07, -1.53, -69.57, 2, 0)
  31. MovementLoopAddLocation(NPC, 261.11, -1.16, -80.58, 2, math.random(14, 25))
  32. MovementLoopAddLocation(NPC, 247.34, -0.77, -95.9, 2, 0)
  33. MovementLoopAddLocation(NPC, 243.38, -0.87, -99.18, 2, 0)
  34. MovementLoopAddLocation(NPC, 235.4, -1.15, -109.57, 2, math.random(14, 25))
  35. MovementLoopAddLocation(NPC, 229.99, -0.82, -124.48, 2, math.random(14, 25))
  36. MovementLoopAddLocation(NPC, 248.75, -1.02, -144.42, 2, math.random(14, 25))
  37. end