9
3

aravenousbogslug.lua 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. --[[
  2. Script Name : SpawnScripts/Peatbog_Classic/aravenousbogslug.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.11.01 08:11:20
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function waypoints(NPC)
  18. if GetSpawnLocationID(NPC)== 133779651 or GetSpawnLocationID(NPC)== 133779652 then
  19. MovementLoopAddLocation(NPC, 592.1, -32.95, 548.13, 5, 0)
  20. MovementLoopAddLocation(NPC, 597.46, -32.95, 554.31, 5, 0)
  21. MovementLoopAddLocation(NPC, 598.64, -32.96, 563, 5, 0)
  22. MovementLoopAddLocation(NPC, 599.12, -33.12, 569.7, 5, 0)
  23. MovementLoopAddLocation(NPC, 601.07, -33.27, 576.74, 5, 0)
  24. MovementLoopAddLocation(NPC, 604.52, -33.27, 580.54, 5, 0)
  25. MovementLoopAddLocation(NPC, 607.26, -33.32, 580.84, 5, 0)
  26. MovementLoopAddLocation(NPC, 606.56, -33.36, 578.67, 5, 0)
  27. MovementLoopAddLocation(NPC, 603.94, -33.5, 576.8, 5, 0)
  28. MovementLoopAddLocation(NPC, 601.65, -33.18, 569.46, 5, 0)
  29. MovementLoopAddLocation(NPC, 598.79, -32.99, 564.51, 5, 0)
  30. MovementLoopAddLocation(NPC, 598.06, -32.93, 553.16, 5, 0)
  31. elseif GetSpawnLocationID(NPC)== 133779653 then
  32. MovementLoopAddLocation(NPC, 606.34, -33, 608.67, 5, 0)
  33. MovementLoopAddLocation(NPC, 603.76, -33.06, 595.82, 5, 0)
  34. MovementLoopAddLocation(NPC, 602.55, -33.05, 588.89, 5, 0)
  35. MovementLoopAddLocation(NPC, 606.23, -33.24, 583.48, 5, 0)
  36. MovementLoopAddLocation(NPC, 606.58, -33.24, 584.79, 5, 0)
  37. MovementLoopAddLocation(NPC, 603.22, -33.05, 588.7, 5, 0)
  38. MovementLoopAddLocation(NPC, 604.41, -33.15, 599.64, 5, 0)
  39. MovementLoopAddLocation(NPC, 607.39, -32.92, 611.66, 5, 0)
  40. MovementLoopAddLocation(NPC, 608.77, -32.86, 615.36, 5, 0)
  41. MovementLoopAddLocation(NPC, 610.13, -32.89, 615.77, 5, 0)
  42. MovementLoopAddLocation(NPC, 609.44, -32.95, 612.82, 5, 0)
  43. elseif GetSpawnLocationID(NPC)==133779654 then
  44. MovementLoopAddLocation(NPC, 620.97, -32.85, 624.64, 5, 0)
  45. MovementLoopAddLocation(NPC, 616.6, -32.9, 621.72, 5, 0)
  46. MovementLoopAddLocation(NPC, 611.17, -32.82, 620.32, 5, 0)
  47. MovementLoopAddLocation(NPC, 612.74, -32.84, 615.37, 5, 0)
  48. MovementLoopAddLocation(NPC, 612.74, -32.83, 613.01, 5, 0)
  49. MovementLoopAddLocation(NPC, 610.07, -32.91, 609.14, 5, 0)
  50. MovementLoopAddLocation(NPC, 614.28, -32.75, 612.68, 5, 0)
  51. MovementLoopAddLocation(NPC, 610.01, -32.81, 618.14, 5, 0)
  52. MovementLoopAddLocation(NPC, 626.06, -32.77, 627.01, 5, 0)
  53. MovementLoopAddLocation(NPC, 630.14, -32.88, 628.08, 5, 0)
  54. MovementLoopAddLocation(NPC, 629.62, -32.98, 630.59, 5, 0)
  55. MovementLoopAddLocation(NPC, 624.21, -32.81, 626.24, 5, 0)
  56. elseif GetSpawnLocationID(NPC)== 133779655 then
  57. MovementLoopAddLocation(NPC, 636, -33, 636.9, 5, 0)
  58. MovementLoopAddLocation(NPC, 642.67, -32.95, 638.6, 5, 0)
  59. MovementLoopAddLocation(NPC, 647.22, -33.06, 638.48, 5, 0)
  60. MovementLoopAddLocation(NPC, 648.82, -33.17, 639.97, 5, 0)
  61. MovementLoopAddLocation(NPC, 647.43, -33.25, 640.68, 5, 0)
  62. MovementLoopAddLocation(NPC, 642.01, -32.9, 639.77, 5, 0)
  63. MovementLoopAddLocation(NPC, 637.93, -32.82, 640.61, 5, 0)
  64. MovementLoopAddLocation(NPC, 631.85, -33.01, 635.66, 5, 0)
  65. MovementLoopAddLocation(NPC, 626.34, -32.81, 630.96, 5, 0)
  66. MovementLoopAddLocation(NPC, 619.85, -32.74, 628.56, 5, 0)
  67. MovementLoopAddLocation(NPC, 618.45, -32.85, 626.25, 5, 0)
  68. MovementLoopAddLocation(NPC, 619.81, -32.86, 626.69, 5, 0)
  69. MovementLoopAddLocation(NPC, 629.3, -33.02, 632.04, 5, 0)
  70. end
  71. end