9
3

shriller16.lua 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. --[[
  2. Script Name : shriller16.lua
  3. Script Purpose : Waypoint Path for shriller16.lua
  4. Script Author : Devn00b
  5. Script Date : 05/13/2020 01:04:51 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, -152.16, 2, -167.02, 1, 0)
  38. MovementLoopAddLocation(NPC, -149.06, 2, -168.83, 1, 0)
  39. MovementLoopAddLocation(NPC, -155.01, 2, -166.52, 1, 0)
  40. MovementLoopAddLocation(NPC, -153.71, 2, -163.37, 1, 0)
  41. MovementLoopAddLocation(NPC, -147.84, 2, -165.75, 1, 0)
  42. MovementLoopAddLocation(NPC, -151.4, 2, -169.07, 1, 0)
  43. MovementLoopAddLocation(NPC, -153.71, 2, -163.59, 1, 0)
  44. MovementLoopAddLocation(NPC, -153.5, 2, -167.66, 1, 0)
  45. MovementLoopAddLocation(NPC, -148.98, 2, -165.5, 1, 0)
  46. MovementLoopAddLocation(NPC, -149.95, 2, -168.7, 1, 0)
  47. MovementLoopAddLocation(NPC, -150.16, 2, -166.61, 1, 0)
  48. MovementLoopAddLocation(NPC, -149.59, 2, -166.4, 1, 0)
  49. MovementLoopAddLocation(NPC, -153.93, 2, -166.65, 1, 0)
  50. MovementLoopAddLocation(NPC, -150.87, 2, -164.58, 1, 0)
  51. MovementLoopAddLocation(NPC, -152.51, 2, -168.53, 1, 0)
  52. MovementLoopAddLocation(NPC, -150.87, 2, -164.58, 1, 0)
  53. MovementLoopAddLocation(NPC, -153.93, 2, -166.65, 1, 0)
  54. MovementLoopAddLocation(NPC, -149.59, 2, -166.4, 1, 0)
  55. MovementLoopAddLocation(NPC, -150.16, 2, -166.61, 1, 0)
  56. MovementLoopAddLocation(NPC, -149.95, 2, -168.7, 1, 0)
  57. MovementLoopAddLocation(NPC, -148.98, 2, -165.5, 1, 0)
  58. MovementLoopAddLocation(NPC, -153.5, 2, -167.66, 1, 0)
  59. MovementLoopAddLocation(NPC, -153.71, 2, -163.59, 1, 0)
  60. MovementLoopAddLocation(NPC, -151.4, 2, -169.07, 1, 0)
  61. MovementLoopAddLocation(NPC, -147.84, 2, -165.75, 1, 0)
  62. MovementLoopAddLocation(NPC, -153.71, 2, -163.37, 1, 0)
  63. MovementLoopAddLocation(NPC, -155.01, 2, -166.52, 1, 0)
  64. MovementLoopAddLocation(NPC, -149.06, 2, -168.83, 1, 0)
  65. MovementLoopAddLocation(NPC, -152.16, 2, -167.02, 1, 0)
  66. end