9
3

bloodsaber_adept2.lua 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. --[[
  2. Script Name : bloodsaber_adept_1.lua
  3. Script Purpose : Waypoint Path for bloodsaber_adept_1.lua
  4. Script Author : Devn00b
  5. Script Date : 06/13/2020 11:51:39 AM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 =13
  11. local level2 = 14
  12. local difficulty1 = 9
  13. local hp1 = 2360
  14. local power1 = 1085
  15. local difficulty2 = 9
  16. local hp2 = 2730
  17. local power2 = 1205
  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, 18.81, -0.12, -162.34, 2, 0)
  37. MovementLoopAddLocation(NPC, 27.81, 0.02, -159.72, 2, 0)
  38. MovementLoopAddLocation(NPC, 36.94, 0.46, -159.4, 2, 0)
  39. MovementLoopAddLocation(NPC, 43.6, 0.35, -159.76, 2, 0)
  40. MovementLoopAddLocation(NPC, 49.73, -0.17, -160.24, 2, 0)
  41. MovementLoopAddLocation(NPC, 22.91, -0.12, -159.42, 2, 0)
  42. MovementLoopAddLocation(NPC, 18.52, -0.19, -163.24, 2, 0)
  43. MovementLoopAddLocation(NPC, 17.45, -0.14, -165.82, 2, 0)
  44. MovementLoopAddLocation(NPC, 19.73, -0.08, -182, 2, 0)
  45. MovementLoopAddLocation(NPC, 19.89, -0.08, -185.57, 2, 0)
  46. MovementLoopAddLocation(NPC, 24.68, -0.08, -185.42, 2, 0)
  47. MovementLoopAddLocation(NPC, 26.96, -0.7, -191.82, 2, 0)
  48. MovementLoopAddLocation(NPC, 43.35, -0.7, -192.34, 2, 0)
  49. MovementLoopAddLocation(NPC, 48.32, -0.7, -189.03, 2, 0)
  50. MovementLoopAddLocation(NPC, 51.53, -0.7, -172.22, 2, 0)
  51. MovementLoopAddLocation(NPC, 60.68, -0.7, -168.58, 2, 0)
  52. MovementLoopAddLocation(NPC, 88.59, -0.64, -168.63, 2, 0)
  53. MovementLoopAddLocation(NPC, 84, 0, -151.44, 2, 0)
  54. MovementLoopAddLocation(NPC, 75.55, 0.53, -138.81, 2, 0)
  55. MovementLoopAddLocation(NPC, 84, 0, -151.44, 2, 0)
  56. MovementLoopAddLocation(NPC, 88.59, -0.64, -168.63, 2, 0)
  57. MovementLoopAddLocation(NPC, 60.68, -0.7, -168.58, 2, 0)
  58. MovementLoopAddLocation(NPC, 51.53, -0.7, -172.22, 2, 0)
  59. MovementLoopAddLocation(NPC, 48.32, -0.7, -189.03, 2, 0)
  60. MovementLoopAddLocation(NPC, 43.35, -0.7, -192.34, 2, 0)
  61. MovementLoopAddLocation(NPC, 26.96, -0.7, -191.82, 2, 0)
  62. MovementLoopAddLocation(NPC, 24.68, -0.08, -185.42, 2, 0)
  63. MovementLoopAddLocation(NPC, 19.89, -0.08, -185.57, 2, 0)
  64. MovementLoopAddLocation(NPC, 19.73, -0.08, -182, 2, 0)
  65. MovementLoopAddLocation(NPC, 17.45, -0.14, -165.82, 2, 0)
  66. MovementLoopAddLocation(NPC, 18.52, -0.19, -163.24, 2, 0)
  67. MovementLoopAddLocation(NPC, 22.91, -0.12, -159.42, 2, 0)
  68. MovementLoopAddLocation(NPC, 49.73, -0.17, -160.24, 2, 0)
  69. MovementLoopAddLocation(NPC, 43.6, 0.35, -159.76, 2, 0)
  70. MovementLoopAddLocation(NPC, 36.94, 0.46, -159.4, 2, 0)
  71. MovementLoopAddLocation(NPC, 27.81, 0.02, -159.72, 2, 0)
  72. MovementLoopAddLocation(NPC, 18.81, -0.12, -162.34, 2, 0)
  73. end