9
3

infected_grave_scorpius.lua 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. --[[
  2. Script Name : infected_grave_scorpius.lua
  3. Script Purpose : Waypoint Path for infected_grave_scorpius.lua
  4. Script Author : Devn00b
  5. Script Date : 06/24/2020 03:02:07 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, 125.09, 0.07, -163.36, 2, math.random(0,15))
  37. MovementLoopAddLocation(NPC, 122.46, 0.09, -168.05, 2, math.random(0,15))
  38. MovementLoopAddLocation(NPC, 113.93, 0, -165.98, 2, math.random(0,15))
  39. MovementLoopAddLocation(NPC, 116.2, 0.01, -170.58, 2, math.random(0,15))
  40. MovementLoopAddLocation(NPC, 107.88, 0.06, -170.71, 2, math.random(0,15))
  41. MovementLoopAddLocation(NPC, 109.06, 0.06, -175.7, 2, math.random(0,15))
  42. MovementLoopAddLocation(NPC, 114.61, 0.01, -165.85, 2, math.random(0,15))
  43. MovementLoopAddLocation(NPC, 128.02, 0.01, -166.44, 2, math.random(0,15))
  44. MovementLoopAddLocation(NPC, 133.16, 0.03, -160.31, 2, math.random(0,15))
  45. MovementLoopAddLocation(NPC, 128.75, 0.05, -160.07, 2, math.random(0,15))
  46. MovementLoopAddLocation(NPC, 132.75, 0.08, -153.61, 2, math.random(0,15))
  47. MovementLoopAddLocation(NPC, 128.96, 0.03, -153.38, 2, math.random(0,15))
  48. MovementLoopAddLocation(NPC, 132.75, 0.08, -153.61, 2, math.random(0,15))
  49. MovementLoopAddLocation(NPC, 128.75, 0.05, -160.07, 2, math.random(0,15))
  50. MovementLoopAddLocation(NPC, 133.16, 0.03, -160.31, 2, math.random(0,15))
  51. MovementLoopAddLocation(NPC, 128.02, 0.01, -166.44, 2, math.random(0,15))
  52. MovementLoopAddLocation(NPC, 114.61, 0.01, -165.85, 2, math.random(0,15))
  53. MovementLoopAddLocation(NPC, 109.06, 0.06, -175.7, 2, math.random(0,15))
  54. MovementLoopAddLocation(NPC, 107.88, 0.06, -170.71, 2, math.random(0,15))
  55. MovementLoopAddLocation(NPC, 116.2, 0.01, -170.58, 2, math.random(0,15))
  56. MovementLoopAddLocation(NPC, 113.93, 0, -165.98, 2, math.random(0,15))
  57. MovementLoopAddLocation(NPC, 122.46, 0.09, -168.05, 2, math.random(0,15))
  58. MovementLoopAddLocation(NPC, 125.09, 0.07, -163.36, 2, math.random(0,15))
  59. end