9
3

bloodsaber_adept5.lua 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. --[[
  2. Script Name : bloodsaber_adept5.lua
  3. Script Purpose : Waypoint Path for bloodsaber_adept5.lua
  4. Script Author : Devn00b
  5. Script Date : 06/14/2020 03:23:53 PM
  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, 65.15, -0.7, -168.39, 2, 0)
  37. MovementLoopAddLocation(NPC, 61.91, -0.7, -168.22, 2, 0)
  38. MovementLoopAddLocation(NPC, 62.39, -0.08, -165.41, 2, 0)
  39. MovementLoopAddLocation(NPC, 53.84, -0.28, -173.76, 2, 0)
  40. MovementLoopAddLocation(NPC, 53.39, -0.08, -180.78, 2, 0)
  41. MovementLoopAddLocation(NPC, 41.52, -0.22, -194.74, 2, 0)
  42. MovementLoopAddLocation(NPC, 40.5, -0.08, -189.15, 2, 0)
  43. MovementLoopAddLocation(NPC, 52.19, -0.26, -184.33, 2, 0)
  44. MovementLoopAddLocation(NPC, 51.38, -0.58, -181.19, 2, 0)
  45. MovementLoopAddLocation(NPC, 52.37, -0.46, -175.19, 2, 0)
  46. MovementLoopAddLocation(NPC, 61.75, -0.11, -165.59, 2, 0)
  47. MovementLoopAddLocation(NPC, 52.37, -0.46, -175.19, 2, 0)
  48. MovementLoopAddLocation(NPC, 51.38, -0.58, -181.19, 2, 0)
  49. MovementLoopAddLocation(NPC, 52.19, -0.26, -184.33, 2, 0)
  50. MovementLoopAddLocation(NPC, 40.5, -0.08, -189.15, 2, 0)
  51. MovementLoopAddLocation(NPC, 41.52, -0.22, -194.74, 2, 0)
  52. MovementLoopAddLocation(NPC, 53.39, -0.08, -180.78, 2, 0)
  53. MovementLoopAddLocation(NPC, 53.84, -0.28, -173.76, 2, 0)
  54. MovementLoopAddLocation(NPC, 62.39, -0.08, -165.41, 2, 0)
  55. MovementLoopAddLocation(NPC, 61.91, -0.7, -168.22, 2, 0)
  56. MovementLoopAddLocation(NPC, 65.15, -0.7, -168.39, 2, 0)
  57. end