shriller4.lua 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. --[[
  2. Script Name : shriller4.lua
  3. Script Purpose : Waypoint Path for shriller4.lua
  4. Script Author : Devn00b
  5. Script Date : 05/09/2020 10:22:34 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, -12.59, 8.94, -0.5, 1, 0)
  38. MovementLoopAddLocation(NPC, -11.89, 8.7, 3.46, 1, 0)
  39. MovementLoopAddLocation(NPC, -7.33, 7.72, 8.71, 1, 0)
  40. MovementLoopAddLocation(NPC, -2.87, 7.03, 10.37, 1, 0)
  41. MovementLoopAddLocation(NPC, 1.99, 6.33, 11.9, 1, 0)
  42. MovementLoopAddLocation(NPC, 7.68, 5.25, 8.34, 1, 0)
  43. MovementLoopAddLocation(NPC, 10.62, 4.7, 5, 1, 0)
  44. MovementLoopAddLocation(NPC, 11.19, 4.16, 0.68, 1, 0)
  45. MovementLoopAddLocation(NPC, 10.53, 3.28, -5.35, 1, 0)
  46. MovementLoopAddLocation(NPC, 7.32, 2.69, -9.09, 1, 0)
  47. MovementLoopAddLocation(NPC, 2.14, 2, -10.99, 1, 0)
  48. MovementLoopAddLocation(NPC, -2.1, 2, -12.25, 1, 0)
  49. MovementLoopAddLocation(NPC, -10.34, 2, -6.92, 1, 0)
  50. MovementLoopAddLocation(NPC, -7.76, 2, -4.93, 1, 0)
  51. MovementLoopAddLocation(NPC, -1.8, -2.56, -1.17, 1, 0)
  52. MovementLoopAddLocation(NPC, -7.76, 2, -4.93, 1, 0)
  53. MovementLoopAddLocation(NPC, -10.34, 2, -6.92, 1, 0)
  54. MovementLoopAddLocation(NPC, -2.1, 2, -12.25, 1, 0)
  55. MovementLoopAddLocation(NPC, 2.14, 2, -10.99, 1, 0)
  56. MovementLoopAddLocation(NPC, 7.32, 2.69, -9.09, 1, 0)
  57. MovementLoopAddLocation(NPC, 10.53, 5.28, -5.35, 1, 0)
  58. MovementLoopAddLocation(NPC, 11.19, 4.16, 0.68, 1, 0)
  59. MovementLoopAddLocation(NPC, 10.62, 4.7, 5, 1, 0)
  60. MovementLoopAddLocation(NPC, 7.68, 5.25, 8.34, 1, 0)
  61. MovementLoopAddLocation(NPC, 1.99, 6.33, 11.9, 1, 0)
  62. MovementLoopAddLocation(NPC, -2.87, 7.03, 10.37, 1, 0)
  63. MovementLoopAddLocation(NPC, -7.33, 7.72, 8.71, 1, 0)
  64. MovementLoopAddLocation(NPC, -11.89, 8.7, 3.46, 1, 0)
  65. MovementLoopAddLocation(NPC, -12.59, 8.94, -0.5, 1, 0)
  66. end