9
3

aseasidefalcon432812.lua 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/aseasidefalcon432812.lua
  3. Script Purpose : Waypoint Path for aseasidefalcon432812.lua
  4. Script Author : Rylec
  5. Script Date : 04-19-2020 02:18:42
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 = 1
  11. local level2 = 2
  12. local difficulty1 = 6
  13. local hp1 = 30
  14. local power1 = 25
  15. local difficulty2 = 6
  16. local hp2 = 45
  17. local power2 = 35
  18. if Level == level1 then
  19. SpawnSet(NPC, "difficulty", difficulty1)
  20. SpawnSet(NPC, "hp", hp1)
  21. SpawnSet(NPC, "power", power1)
  22. elseif Level == level2
  23. then
  24. SpawnSet(NPC, "difficulty", difficulty2)
  25. SpawnSet(NPC, "hp", hp2)
  26. SpawnSet(NPC, "power", power2)
  27. end
  28. waypoints(NPC)
  29. end
  30. function hailed(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. end
  33. function respawn(NPC)
  34. end
  35. function waypoints(NPC)
  36. MovementLoopAddLocation(NPC, 175.64, -0.52, 160.08, 2, math.random(10, 24))
  37. MovementLoopAddLocation(NPC, 173.42, 0.29, 166.72, 2, 0)
  38. MovementLoopAddLocation(NPC, 173.13, 1.18, 175, 2, math.random(10, 24))
  39. MovementLoopAddLocation(NPC, 165.29, 1.59, 174.16, 2, 0)
  40. MovementLoopAddLocation(NPC, 151.73, 2.11, 168.19, 2, math.random(10, 24))
  41. MovementLoopAddLocation(NPC, 183.61, 1.98, 189.14, 2, math.random(10, 24))
  42. MovementLoopAddLocation(NPC, 154.17, 1.07, 191.09, 2, math.random(10, 24))
  43. MovementLoopAddLocation(NPC, 155.5, 0.6, 183.98, 2, 0)
  44. MovementLoopAddLocation(NPC, 161.55, -0.45, 168.69, 2, math.random(10, 24))
  45. MovementLoopAddLocation(NPC, 163.25, 0.12, 171.86, 2, 0)
  46. MovementLoopAddLocation(NPC, 164.17, 0.52, 174.44, 2, 0)
  47. MovementLoopAddLocation(NPC, 181.62, 1.79, 191.31, 2, math.random(10, 24))
  48. MovementLoopAddLocation(NPC, 169.55, 0.44, 182.43, 2, 0)
  49. MovementLoopAddLocation(NPC, 150.36, -0.46, 172.51, 2, math.random(10, 24))
  50. MovementLoopAddLocation(NPC, 147.99, 0.52, 184.19, 2, 0)
  51. MovementLoopAddLocation(NPC, 143.81, 1.13, 189.15, 2, math.random(10, 24))
  52. MovementLoopAddLocation(NPC, 160.01, 0.15, 172.16, 2, 0)
  53. MovementLoopAddLocation(NPC, 173.63, -0.72, 154.14, 2, math.random(10, 24))
  54. end