shriller17.lua 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. --[[
  2. Script Name : shriller17.lua
  3. Script Purpose : Waypoint Path for shriller17.lua
  4. Script Author : Devn00b
  5. Script Date : 05/13/2020 02:23:48 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 = 6
  11. local level2 = 5
  12. local difficulty1 = 6
  13. local hp1 = 150
  14. local power1 = 150
  15. local difficulty2 = 6
  16. local hp2 = 130
  17. local power2 = 130
  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. waypoints(NPC)
  35. end
  36. function waypoints(NPC)
  37. MovementLoopAddLocation(NPC, -126.8, -0.12, -124.74, 2, 0)
  38. MovementLoopAddLocation(NPC, -128.34, -0.12, -136.19, 2, 0)
  39. MovementLoopAddLocation(NPC, -147.06, -0.05, -138.74, 2, 0)
  40. MovementLoopAddLocation(NPC, -159.09, 0, -134.09, 2, 0)
  41. MovementLoopAddLocation(NPC, -158.12, -0.11, -119.96, 2, 0)
  42. MovementLoopAddLocation(NPC, -154.12, -0.05, -96.36, 2, 0)
  43. MovementLoopAddLocation(NPC, -147.81, -0.1, -84.18, 2, 0)
  44. MovementLoopAddLocation(NPC, -168.98, -0.27, -73.79, 2, 0)
  45. MovementLoopAddLocation(NPC, -182.93, -0.11, -73.04, 2, 0)
  46. MovementLoopAddLocation(NPC, -188.84, 0.41, -72.02, 2, 0)
  47. MovementLoopAddLocation(NPC, -192.35, -0.1, -63.76, 2, 0)
  48. MovementLoopAddLocation(NPC, -190.13, 0.47, -48.1, 2, 0)
  49. MovementLoopAddLocation(NPC, -176.04, -0.09, -33.4, 2, 0)
  50. MovementLoopAddLocation(NPC, -190.13, 0.47, -48.1, 2, 0)
  51. MovementLoopAddLocation(NPC, -192.35, -0.1, -63.76, 2, 0)
  52. MovementLoopAddLocation(NPC, -188.84, 0.41, -72.02, 2, 0)
  53. MovementLoopAddLocation(NPC, -182.93, -0.11, -73.04, 2, 0)
  54. MovementLoopAddLocation(NPC, -168.98, -0.27, -73.79, 2, 0)
  55. MovementLoopAddLocation(NPC, -147.81, -0.1, -84.18, 2, 0)
  56. MovementLoopAddLocation(NPC, -154.12, -0.05, -96.36, 2, 0)
  57. MovementLoopAddLocation(NPC, -158.12, -0.11, -119.96, 2, 0)
  58. MovementLoopAddLocation(NPC, -159.09, 0, -134.09, 2, 0)
  59. MovementLoopAddLocation(NPC, -147.06, -0.05, -138.74, 2, 0)
  60. MovementLoopAddLocation(NPC, -128.34, -0.12, -136.19, 2, 0)
  61. MovementLoopAddLocation(NPC, -126.8, -0.12, -124.74, 2, 0)
  62. end