9
3

amorakdevourer1587723.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer1587723.lua
  3. Script Purpose : Waypoint Path for amorakdevourer1587723.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:10:23
  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, 242.64, -0.89, -135.27, 2, math.random(14, 25))
  26. MovementLoopAddLocation(NPC, 240.1, -1, -123.81, 2, 0)
  27. MovementLoopAddLocation(NPC, 239.29, -0.94, -116.12, 2, math.random(14, 25))
  28. MovementLoopAddLocation(NPC, 239.61, -1.07, -103.68, 2, 0)
  29. MovementLoopAddLocation(NPC, 243.9, -0.95, -98.44, 2, 0)
  30. MovementLoopAddLocation(NPC, 252.72, -1.06, -91.81, 2, 0)
  31. MovementLoopAddLocation(NPC, 257.46, -1.17, -86.61, 2, math.random(14, 25))
  32. MovementLoopAddLocation(NPC, 241.58, -1.11, -100.49, 2, 0)
  33. MovementLoopAddLocation(NPC, 239.03, -1.24, -104.25, 2, 0)
  34. MovementLoopAddLocation(NPC, 239.26, -1.06, -114.95, 2, math.random(14, 25))
  35. MovementLoopAddLocation(NPC, 238.26, -1.57, -103.06, 2, math.random(14, 25))
  36. MovementLoopAddLocation(NPC, 230.12, -0.82, -124.87, 2, math.random(14, 25))
  37. MovementLoopAddLocation(NPC, 232.98, -1.34, -106.61, 2, math.random(14, 25))
  38. MovementLoopAddLocation(NPC, 242.67, -0.87, -87.39, 2, math.random(14, 25))
  39. MovementLoopAddLocation(NPC, 234.26, -1.05, -113.35, 2, math.random(14, 25))
  40. end