9
3

crypt_substance13.lua 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. --[[
  2. Script Name : crypt_substance13.lua
  3. Script Purpose : Waypoint Path for crypt_substance13.lua
  4. Script Author : Devn00b
  5. Script Date : 05/13/2020 01:02:18 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 = 5
  11. local level2 = 6
  12. local difficulty1 = 6
  13. local hp1 = 130
  14. local power1 = 65
  15. local difficulty2 = 6
  16. local hp2 = 150
  17. local power2 = 80
  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, -171.73, -0.11, -175.57, 1, 0)
  38. MovementLoopAddLocation(NPC, -172.36, -0.09, -187.5, 1, 0)
  39. MovementLoopAddLocation(NPC, -181.63, -0.16, -190.6, 1, 0)
  40. MovementLoopAddLocation(NPC, -188.36, -0.09, -190.34, 1, 0)
  41. MovementLoopAddLocation(NPC, -177.31, -0.05, -189.95, 1, 0)
  42. MovementLoopAddLocation(NPC, -172.58, -0.08, -182.05, 1, 0)
  43. MovementLoopAddLocation(NPC, -172.63, -0.12, -174.93, 1, 0)
  44. MovementLoopAddLocation(NPC, -165.55, 0.3, -170.19, 1, 0)
  45. MovementLoopAddLocation(NPC, -156.82, -0.23, -175.91, 1, 0)
  46. MovementLoopAddLocation(NPC, -142.94, -0.27, -177.19, 1, 0)
  47. MovementLoopAddLocation(NPC, -132.25, 0.48, -182.26, 1, 0)
  48. MovementLoopAddLocation(NPC, -121.77, 0.52, -180.08, 1, 0)
  49. MovementLoopAddLocation(NPC, -118.64, -0.12, -167.66, 1, 0)
  50. MovementLoopAddLocation(NPC, -121.39, 0.21, -153.73, 1, 0)
  51. MovementLoopAddLocation(NPC, -127.33, -0.06, -145.43, 1, 0)
  52. MovementLoopAddLocation(NPC, -129.67, -0.02, -138.66, 1, 0)
  53. MovementLoopAddLocation(NPC, -130.03, -0.04, -136.37, 1, 0)
  54. MovementLoopAddLocation(NPC, -136.94, 0.33, -136.44, 1, 0)
  55. MovementLoopAddLocation(NPC, -146.63, -0.13, -137.21, 1, 0)
  56. MovementLoopAddLocation(NPC, -156.08, -0.08, -137.07, 1, 0)
  57. MovementLoopAddLocation(NPC, -158.89, -0.05, -132.33, 1, 0)
  58. MovementLoopAddLocation(NPC, -160.08, -0.08, -127.27, 1, 0)
  59. MovementLoopAddLocation(NPC, -157.42, 0.49, -107.21, 1, 0)
  60. MovementLoopAddLocation(NPC, -145.26, -0.08, -76.43, 1, 0)
  61. MovementLoopAddLocation(NPC, -157.42, 0.49, -107.21, 1, 0)
  62. MovementLoopAddLocation(NPC, -160.08, -0.08, -127.27, 1, 0)
  63. MovementLoopAddLocation(NPC, -158.89, -0.05, -132.33, 1, 0)
  64. MovementLoopAddLocation(NPC, -156.08, -0.08, -137.07, 1, 0)
  65. MovementLoopAddLocation(NPC, -146.63, -0.13, -137.21, 1, 0)
  66. MovementLoopAddLocation(NPC, -136.94, 0.33, -136.44, 1, 0)
  67. MovementLoopAddLocation(NPC, -130.03, -0.04, -136.37, 1, 0)
  68. MovementLoopAddLocation(NPC, -129.67, -0.02, -138.66, 1, 0)
  69. MovementLoopAddLocation(NPC, -127.33, -0.06, -145.43, 1, 0)
  70. MovementLoopAddLocation(NPC, -121.39, 0.21, -153.73, 1, 0)
  71. MovementLoopAddLocation(NPC, -118.64, -0.12, -167.66, 1, 0)
  72. MovementLoopAddLocation(NPC, -121.77, 0.52, -180.08, 1, 0)
  73. MovementLoopAddLocation(NPC, -132.25, 0.48, -182.26, 1, 0)
  74. MovementLoopAddLocation(NPC, -142.94, -0.27, -177.19, 1, 0)
  75. MovementLoopAddLocation(NPC, -156.82, -0.23, -175.91, 1, 0)
  76. MovementLoopAddLocation(NPC, -165.55, 0.3, -170.19, 1, 0)
  77. MovementLoopAddLocation(NPC, -172.63, -0.12, -174.93, 1, 0)
  78. MovementLoopAddLocation(NPC, -172.58, -0.08, -182.05, 1, 0)
  79. MovementLoopAddLocation(NPC, -177.31, -0.05, -189.95, 1, 0)
  80. MovementLoopAddLocation(NPC, -188.36, -0.09, -190.34, 1, 0)
  81. MovementLoopAddLocation(NPC, -181.63, -0.16, -190.6, 1, 0)
  82. MovementLoopAddLocation(NPC, -172.36, -0.09, -187.5, 1, 0)
  83. MovementLoopAddLocation(NPC, -171.73, -0.11, -175.57, 1, 0)
  84. end