shriller17.lua 2.3 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 = 4
  11. local level2 = 5
  12. local difficulty1 = 6
  13. local hp1 = 110
  14. local power1 = 55
  15. local difficulty2 = 6
  16. local hp2 = 130
  17. local power2 = 65
  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. spawn(NPC)
  35. end
  36. function waypoints(NPC)
  37. MovementLoopAddLocation(NPC, -126.8, 2, -124.74, 1, 0)
  38. MovementLoopAddLocation(NPC, -128.34, 2, -136.19, 1, 0)
  39. MovementLoopAddLocation(NPC, -147.06, 2, -138.74, 1, 0)
  40. MovementLoopAddLocation(NPC, -159.09, 2, -134.09, 1, 0)
  41. MovementLoopAddLocation(NPC, -158.12, 2, -119.96, 1, 0)
  42. MovementLoopAddLocation(NPC, -154.12, 2, -96.36, 1, 0)
  43. MovementLoopAddLocation(NPC, -147.81, 2, -84.18, 1, 0)
  44. MovementLoopAddLocation(NPC, -168.98, 2, -73.79, 1, 0)
  45. MovementLoopAddLocation(NPC, -182.93, 2, -73.04, 1, 0)
  46. MovementLoopAddLocation(NPC, -188.84, 2, -72.02, 1, 0)
  47. MovementLoopAddLocation(NPC, -192.35, 2, -63.76, 1, 0)
  48. MovementLoopAddLocation(NPC, -190.13, 2, -48.1, 1, 0)
  49. MovementLoopAddLocation(NPC, -176.04, 2, -33.4, 1, 0)
  50. MovementLoopAddLocation(NPC, -190.13, 2, -48.1, 1, 0)
  51. MovementLoopAddLocation(NPC, -192.35, 2, -63.76, 1, 0)
  52. MovementLoopAddLocation(NPC, -188.84, 2, -72.02, 1, 0)
  53. MovementLoopAddLocation(NPC, -182.93, 2, -73.04, 1, 0)
  54. MovementLoopAddLocation(NPC, -168.98, 2, -73.79, 1, 0)
  55. MovementLoopAddLocation(NPC, -147.81, 2, -84.18, 1, 0)
  56. MovementLoopAddLocation(NPC, -154.12, 2, -96.36, 1, 0)
  57. MovementLoopAddLocation(NPC, -158.12, 2, -119.96, 1, 0)
  58. MovementLoopAddLocation(NPC, -159.09, 2, -134.09, 1, 0)
  59. MovementLoopAddLocation(NPC, -147.06, 2, -138.74, 1, 0)
  60. MovementLoopAddLocation(NPC, -128.34, 2, -136.19, 1, 0)
  61. MovementLoopAddLocation(NPC, -126.8, 2, -124.74, 1, 0)
  62. end