9
3

shriller19.lua 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. --[[
  2. Script Name : shriller19.lua
  3. Script Purpose : Waypoint Path for shriller19.lua
  4. Script Author : Devn00b
  5. Script Date : 05/13/2020 03:57:59 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 = 7
  11. local level2 = 8
  12. local difficulty1 = 6
  13. local hp1 = 200
  14. local power1 = 90
  15. local difficulty2 = 6
  16. local hp2 = 240
  17. local power2 = 100
  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, -142.46, 2, -147.7, 1, 0)
  38. MovementLoopAddLocation(NPC, -142.51, 2, -142.7, 1, 0)
  39. MovementLoopAddLocation(NPC, -148.63, 2, -142.44, 1, 0)
  40. MovementLoopAddLocation(NPC, -148.82, 2, -147.77, 1, 0)
  41. MovementLoopAddLocation(NPC, -142.5, 2, -142.44, 1, 0)
  42. MovementLoopAddLocation(NPC, -142.5, 2, -147.77, 1, 0)
  43. MovementLoopAddLocation(NPC, -148.83, 2, -142.42, 1, 0)
  44. MovementLoopAddLocation(NPC, -148.82, 2, -147.77, 1, 0)
  45. MovementLoopAddLocation(NPC, -147.23, 2, -143.07, 1, 0)
  46. MovementLoopAddLocation(NPC, -146.08, 2, -146.58, 1, 0)
  47. MovementLoopAddLocation(NPC, -143.99, 2, -142.86, 1, 0)
  48. MovementLoopAddLocation(NPC, -145.79, 2, -142.58, 1, 0)
  49. MovementLoopAddLocation(NPC, -145.74, 2, -144.62, 1, 0)
  50. MovementLoopAddLocation(NPC, -143.11, 2, -144.87, 1, 0)
  51. MovementLoopAddLocation(NPC, -148.21, 2, -144.82, 1, 0)
  52. MovementLoopAddLocation(NPC, -145.59, 2, -147.84, 1, 0)
  53. MovementLoopAddLocation(NPC, -145.4, 2, -146.58, 1, 0)
  54. MovementLoopAddLocation(NPC, -147.28, 2, -145.95, 1, 0)
  55. MovementLoopAddLocation(NPC, -143.25, 2, -145.76, 1, 0)
  56. MovementLoopAddLocation(NPC, -142.83, 2, -143.58, 1, 0)
  57. MovementLoopAddLocation(NPC, -147.58, 2, -143.65, 1, 0)
  58. MovementLoopAddLocation(NPC, -142.83, 2, -143.58, 1, 0)
  59. MovementLoopAddLocation(NPC, -143.25, 2, -145.76, 1, 0)
  60. MovementLoopAddLocation(NPC, -147.28, 2, -145.95, 2, 0)
  61. MovementLoopAddLocation(NPC, -145.4, 2, -146.58, 1, 0)
  62. MovementLoopAddLocation(NPC, -145.59, 2, -147.84, 1, 0)
  63. MovementLoopAddLocation(NPC, -148.21, 2, -144.82, 1, 0)
  64. MovementLoopAddLocation(NPC, -143.11, 2, -144.87, 1, 0)
  65. MovementLoopAddLocation(NPC, -145.74, 2, -144.62, 1, 0)
  66. MovementLoopAddLocation(NPC, -145.79, 2, -142.58, 1, 0)
  67. MovementLoopAddLocation(NPC, -143.99, 2, -142.86, 1, 0)
  68. MovementLoopAddLocation(NPC, -146.08, 2, -146.58, 1, 0)
  69. MovementLoopAddLocation(NPC, -147.23, 2, -143.07, 1, 0)
  70. MovementLoopAddLocation(NPC, -148.82, 2, -147.77, 1, 0)
  71. MovementLoopAddLocation(NPC, -148.83, 2, -142.42, 1, 0)
  72. MovementLoopAddLocation(NPC, -142.5, 2, -147.77, 1, 0)
  73. MovementLoopAddLocation(NPC, -142.5, 2, -142.44, 1, 0)
  74. MovementLoopAddLocation(NPC, -148.82, 2, -147.77, 1, 0)
  75. MovementLoopAddLocation(NPC, -148.63, 2, -142.44, 1, 0)
  76. MovementLoopAddLocation(NPC, -142.51, 2, -142.7, 1, 0)
  77. MovementLoopAddLocation(NPC, -142.46, 2, -147.7, 1, 0)
  78. end