shriller.lua 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. --[[
  2. Script Name : shriller.lua
  3. Script Purpose : Waypoint Path for shriller.lua
  4. Script Author : Devn00b
  5. Script Date : 06/24/2020 03:07:20 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 = 6
  13. local hp1 = 680
  14. local power1 = 205
  15. local difficulty2 = 6
  16. local hp2 = 795
  17. local power2 = 240
  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, 131.65, -0.02, -139.99, 2, 0)
  37. MovementLoopAddLocation(NPC, 128.88, -0.05, -132.15, 2, 0)
  38. MovementLoopAddLocation(NPC, 120.2, 0, -120.19, 2, 0)
  39. MovementLoopAddLocation(NPC, 119.89, 0.11, -110.36, 2, 0)
  40. MovementLoopAddLocation(NPC, 110.33, -1.25, -104.6, 2, 0)
  41. MovementLoopAddLocation(NPC, 107.84, -1.99, -98.9, 2, 0)
  42. MovementLoopAddLocation(NPC, 109.74, -3.08, -92.5, 2, 0)
  43. MovementLoopAddLocation(NPC, 114.92, -4.18, -87.02, 2, 0)
  44. MovementLoopAddLocation(NPC, 121.03, -4.94, -85.85, 2, 0)
  45. MovementLoopAddLocation(NPC, 127.89, -6.03, -89.68, 2, 0)
  46. MovementLoopAddLocation(NPC, 131.61, -6.92, -97.63, 2, 0)
  47. MovementLoopAddLocation(NPC, 144.02, -6.98, -97.6, 2, 0)
  48. MovementLoopAddLocation(NPC, 157.18, -6.36, -108.01, 2, 0)
  49. MovementLoopAddLocation(NPC, 184.75, -7.16, -109.31, 2, 0)
  50. MovementLoopAddLocation(NPC, 199.62, -6.91, -122.95, 2, 0)
  51. MovementLoopAddLocation(NPC, 208.14, -6.97, -119.15, 2, 0)
  52. MovementLoopAddLocation(NPC, 222.82, -6.85, -102.44, 2, 0)
  53. MovementLoopAddLocation(NPC, 222.07, -6.89, -90.91, 2, 0)
  54. MovementLoopAddLocation(NPC, 235.22, -6.86, -92.23, 2, 0)
  55. MovementLoopAddLocation(NPC, 222.07, -6.89, -90.91, 2, 0)
  56. MovementLoopAddLocation(NPC, 222.82, -6.85, -102.44, 2, 0)
  57. MovementLoopAddLocation(NPC, 208.14, -6.97, -119.15, 2, 0)
  58. MovementLoopAddLocation(NPC, 199.62, -6.91, -122.95, 2, 0)
  59. MovementLoopAddLocation(NPC, 184.75, -7.16, -109.31, 2, 0)
  60. MovementLoopAddLocation(NPC, 157.18, -6.36, -108.01, 2, 0)
  61. MovementLoopAddLocation(NPC, 144.02, -6.98, -97.6, 2, 0)
  62. MovementLoopAddLocation(NPC, 131.61, -6.92, -97.63, 2, 0)
  63. MovementLoopAddLocation(NPC, 127.89, -6.03, -89.68, 2, 0)
  64. MovementLoopAddLocation(NPC, 121.03, -4.94, -85.85, 2, 0)
  65. MovementLoopAddLocation(NPC, 114.92, -4.18, -87.02, 2, 0)
  66. MovementLoopAddLocation(NPC, 109.74, -3.08, -92.5, 2, 0)
  67. MovementLoopAddLocation(NPC, 107.84, -1.99, -98.9, 2, 0)
  68. MovementLoopAddLocation(NPC, 110.33, -1.25, -104.6, 2, 0)
  69. MovementLoopAddLocation(NPC, 119.89, 0.11, -110.36, 2, 0)
  70. MovementLoopAddLocation(NPC, 120.2, 0, -120.19, 2, 0)
  71. MovementLoopAddLocation(NPC, 128.88, -0.05, -132.15, 2, 0)
  72. MovementLoopAddLocation(NPC, 131.65, -0.02, -139.99, 2, 0)
  73. end