amorakdevourer1587714.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer1587714.lua
  3. Script Purpose : Waypoint Path for amorakdevourer1587714.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:09:48
  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, 247.42, -0.01, -80.89, 2, math.random(14, 25))
  25. MovementLoopAddLocation(NPC, 246.63, -0.8, -89.82, 2, 0)
  26. MovementLoopAddLocation(NPC, 238.22, -1.32, -107.08, 2, 0)
  27. MovementLoopAddLocation(NPC, 244.2, -0.82, -131.46, 2, math.random(14, 25))
  28. MovementLoopAddLocation(NPC, 243.01, -0.9, -122.71, 2, 0)
  29. MovementLoopAddLocation(NPC, 240.29, -0.8, -115.84, 2, 0)
  30. MovementLoopAddLocation(NPC, 238.56, -1.2, -107.06, 2, 0)
  31. MovementLoopAddLocation(NPC, 240.96, -1.28, -100.47, 2, 0)
  32. MovementLoopAddLocation(NPC, 266.22, -1.54, -72.73, 2, math.random(14, 25))
  33. MovementLoopAddLocation(NPC, 251.84, -0.33, -85.27, 2, 0)
  34. MovementLoopAddLocation(NPC, 247.73, -0.6, -88.39, 2, 0)
  35. MovementLoopAddLocation(NPC, 240.4, -1.21, -95.8, 2, 0)
  36. MovementLoopAddLocation(NPC, 237.32, -1.38, -108.87, 2, 0)
  37. MovementLoopAddLocation(NPC, 238.46, -0.85, -135.25, 2, math.random(14, 25))
  38. MovementLoopAddLocation(NPC, 231.59, -1.04, -111.46, 2, math.random(14, 25))
  39. MovementLoopAddLocation(NPC, 232.32, -1.04, -113.13, 2, 0)
  40. MovementLoopAddLocation(NPC, 241.58, -0.88, -133.16, 2, math.random(14, 25))
  41. MovementLoopAddLocation(NPC, 239.44, -0.85, -128.58, 2, 0)
  42. MovementLoopAddLocation(NPC, 234.24, -1.47, -106.43, 2, math.random(14, 25))
  43. end