9
3

aseasidefalcon432866.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/aseasidefalcon432866.lua
  3. Script Purpose : Waypoint Path for aseasidefalcon432866.lua
  4. Script Author : Rylec
  5. Script Date : 04-19-2020 02:17:14
  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, 92.53, -0.75, 214.66, 2, math.random(10, 24))
  37. MovementLoopAddLocation(NPC, 92.08, -0.8, 215.95, 2, 0)
  38. MovementLoopAddLocation(NPC, 89.71, -1.61, 218.43, 2, math.random(10, 24))
  39. MovementLoopAddLocation(NPC, 87.66, -1.2, 214.61, 2, 0)
  40. MovementLoopAddLocation(NPC, 88.23, -0.95, 212.6, 2, math.random(10, 24))
  41. MovementLoopAddLocation(NPC, 101.25, -0.99, 191.47, 2, math.random(10, 24))
  42. MovementLoopAddLocation(NPC, 87.43, -1.61, 206.31, 2, 0)
  43. MovementLoopAddLocation(NPC, 86.52, -1.75, 209.14, 2, math.random(10, 24))
  44. MovementLoopAddLocation(NPC, 65.66, -1.8, 213.35, 2, math.random(10, 24))
  45. MovementLoopAddLocation(NPC, 90.82, -1.32, 189.48, 2, math.random(10, 24))
  46. MovementLoopAddLocation(NPC, 102.6, -1.2, 194.15, 2, math.random(10, 24))
  47. MovementLoopAddLocation(NPC, 97.42, -0.91, 210.59, 2, 0)
  48. end