shriller22.lua 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. --[[
  2. Script Name : shriller22.lua
  3. Script Purpose : Waypoint Path for shriller22.lua
  4. Script Author : Devn00b
  5. Script Date : 05/14/2020 02:24:36 AM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 = 8
  11. local level2 = 9
  12. local difficulty1 = 6
  13. local hp1 = 250
  14. local power1 = 250
  15. local difficulty2 = 6
  16. local hp2 = 285
  17. local power2 = 285
  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. waypoints(NPC)
  35. end
  36. function waypoints(NPC)
  37. MovementLoopAddLocation(NPC, -177.41, -0.27, -73.23, 2, math.random(0,3))
  38. MovementLoopAddLocation(NPC, -176.21, -0.23, -78.46, 2, math.random(0,3))
  39. MovementLoopAddLocation(NPC, -179.79, -0.31, -87.71, 2, math.random(0,3))
  40. MovementLoopAddLocation(NPC, -187.44, -0.03, -93.1, 2, math.random(0,3))
  41. MovementLoopAddLocation(NPC, -202.96, 0.5, -94.08, 2, math.random(0,3))
  42. MovementLoopAddLocation(NPC, -209.85, -0.04, -92.9, 2, math.random(0,3))
  43. MovementLoopAddLocation(NPC, -215.51, -0.08, -86.45, 2, math.random(0,3))
  44. MovementLoopAddLocation(NPC, -218.44, -0.01, -78.53, 2, math.random(0,3))
  45. MovementLoopAddLocation(NPC, -218.11, -0.01, -59.29, 2, math.random(0,3))
  46. MovementLoopAddLocation(NPC, -217.34, 0.21, -55.43, 2, math.random(0,3))
  47. MovementLoopAddLocation(NPC, -188.7, 0, -26.75, 2, math.random(0,3))
  48. MovementLoopAddLocation(NPC, -189.84, 0, -30.91, 2, math.random(0,3))
  49. MovementLoopAddLocation(NPC, -179.64, -0.05, -40.44, 2, math.random(0,3))
  50. MovementLoopAddLocation(NPC, -189.84, 0, -30.91, 2, math.random(0,3))
  51. MovementLoopAddLocation(NPC, -188.7, 0, -26.75, 2, math.random(0,3))
  52. MovementLoopAddLocation(NPC, -217.34, 0.21, -55.43, 2, math.random(0,3))
  53. MovementLoopAddLocation(NPC, -218.11, -0.01, -59.29, 2, math.random(0,3))
  54. MovementLoopAddLocation(NPC, -218.44, -0.01, -78.53, 2, math.random(0,3))
  55. MovementLoopAddLocation(NPC, -215.51, -0.08, -86.45, 2, math.random(0,3))
  56. MovementLoopAddLocation(NPC, -209.85, -0.04, -92.9, 2, math.random(0,3))
  57. MovementLoopAddLocation(NPC, -202.96, 0.5, -94.08, 2, math.random(0,3))
  58. MovementLoopAddLocation(NPC, -187.44, -0.03, -93.1, 2, math.random(0,3))
  59. MovementLoopAddLocation(NPC, -179.79, -0.31, -87.71, 2, math.random(0,3))
  60. MovementLoopAddLocation(NPC, -176.21, -0.23, -78.46, 2, math.random(0,3))
  61. MovementLoopAddLocation(NPC, -177.41, -0.27, -73.23, 2, math.random(0,3))
  62. end