9
3

aforgottensentinel.lua 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. --[[
  2. Script Name : SpawnScripts/Classic_forest/aforgottensentinel.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.14 03:10:21
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGolem1.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. SetSpawnAnimation(NPC, 13016)
  13. AddTimer(NPC,4100,"waypoints",1)
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function waypoints(NPC)
  19. if GetSpawnLocationID(NPC)==133778192 then
  20. MovementLoopAddLocation(NPC, 1038.42, -10.25, -767.9, 1, 15)
  21. MovementLoopAddLocation(NPC, 1036.4, -10.25, -767.6, 1, 0)
  22. MovementLoopAddLocation(NPC, 1039.28, -10.25, -766.08, 1, 0)
  23. MovementLoopAddLocation(NPC, 1043.12, -10.25, -760.34, 1, 0)
  24. MovementLoopAddLocation(NPC, 1049.57, -10.25, -750.99, 1, 0)
  25. MovementLoopAddLocation(NPC, 1055.75, -10.25, -747.26, 1, 0)
  26. MovementLoopAddLocation(NPC, 1056.49, -10.25, -740.6, 1, 0)
  27. MovementLoopAddLocation(NPC, 1060.34, -10.25, -734.85, 1, 0)
  28. MovementLoopAddLocation(NPC, 1062.27, -10.25, -733.29, 1, 0)
  29. MovementLoopAddLocation(NPC, 1067.29, -10.25, -731.55, 1, 0)
  30. MovementLoopAddLocation(NPC, 1072.95, -10.25, -732.82, 1, 0)
  31. MovementLoopAddLocation(NPC, 1078.24, -10.25, -735.16, 1, 0)
  32. MovementLoopAddLocation(NPC, 1080.46, -10.25, -742.61, 1, 0)
  33. MovementLoopAddLocation(NPC, 1081.42, -10.25, -746.13, 1, 0)
  34. MovementLoopAddLocation(NPC, 1077.5, -10.25, -752.41, 1, 0)
  35. MovementLoopAddLocation(NPC, 1071.22, -10.25, -756.17, 1, 0)
  36. MovementLoopAddLocation(NPC, 1062.28, -10.25, -753.94, 1, 0)
  37. MovementLoopAddLocation(NPC, 1057.32, -10.25, -751.3, 1, 0)
  38. MovementLoopAddLocation(NPC, 1053.64, -10.25, -756.54, 1, 0)
  39. MovementLoopAddLocation(NPC, 1049.08, -10.25, -759.92, 1, 0)
  40. MovementLoopAddLocation(NPC, 1043.26, -10.25, -765.08, 1, 0)
  41. MovementLoopAddLocation(NPC, 1038.53, -10.25, -767.31, 1, 0)
  42. MovementLoopAddLocation(NPC, 1036.32, -10.25, -767.83, 1, 0)
  43. MovementLoopAddLocation(NPC, 1038.53, -10.25, -767.31, 1, 15)
  44. MovementLoopAddLocation(NPC, 1043.26, -10.25, -765.08, 1, 0)
  45. MovementLoopAddLocation(NPC, 1049.08, -10.25, -759.92, 1, 0)
  46. MovementLoopAddLocation(NPC, 1053.64, -10.25, -756.54, 1, 0)
  47. MovementLoopAddLocation(NPC, 1054.24, -10.25, -753.06, 1, 0)
  48. MovementLoopAddLocation(NPC, 1057.32, -10.25, -751.3, 1, 0)
  49. MovementLoopAddLocation(NPC, 1062.28, -10.25, -753.94, 1, 0)
  50. MovementLoopAddLocation(NPC, 1071.22, -10.25, -756.17, 1, 0)
  51. MovementLoopAddLocation(NPC, 1077.5, -10.25, -752.41, 1, 0)
  52. MovementLoopAddLocation(NPC, 1081.42, -10.25, -746.13, 1, 0)
  53. MovementLoopAddLocation(NPC, 1080.46, -10.25, -742.61, 1, 0)
  54. MovementLoopAddLocation(NPC, 1078.24, -10.25, -735.16, 1, 0)
  55. MovementLoopAddLocation(NPC, 1072.95, -10.25, -732.82, 1, 0)
  56. MovementLoopAddLocation(NPC, 1067.29, -10.25, -731.55, 1, 0)
  57. MovementLoopAddLocation(NPC, 1062.27, -10.25, -733.29, 1, 0)
  58. MovementLoopAddLocation(NPC, 1060.34, -10.25, -734.85, 1, 0)
  59. MovementLoopAddLocation(NPC, 1056.49, -10.25, -740.6, 1, 0)
  60. MovementLoopAddLocation(NPC, 1055.75, -10.25, -747.26, 1, 0)
  61. MovementLoopAddLocation(NPC, 1049.57, -10.25, -750.99, 1, 0)
  62. MovementLoopAddLocation(NPC, 1043.12, -10.25, -760.34, 1, 0)
  63. MovementLoopAddLocation(NPC, 1039.28, -10.25, -766.08, 1, 0)
  64. MovementLoopAddLocation(NPC, 1036.4, -10.25, -767.6, 1, 0)
  65. MovementLoopAddLocation(NPC, 1038.42, -10.25, -767.9, 1, 15)
  66. elseif GetSpawnLocationID(NPC)==133778183 then
  67. MovementLoopAddLocation(NPC, 1089.45, -10.25, -731.85, 1, 0)
  68. MovementLoopAddLocation(NPC, 1092.95, -10.25, -737.84, 1, 0)
  69. MovementLoopAddLocation(NPC, 1097.66, -10.25, -745.04, 1, 0)
  70. MovementLoopAddLocation(NPC, 1099.67, -10.25, -754.15, 1, 0)
  71. MovementLoopAddLocation(NPC, 1103.12, -10.25, -762.77, 1, 0)
  72. MovementLoopAddLocation(NPC, 1106.87, -10.25, -771.57, 1, 0)
  73. MovementLoopAddLocation(NPC, 1105.73, -10.25, -773.7, 1, 6)
  74. MovementLoopAddLocation(NPC, 1104.95, -10.25, -769.81, 1, 0)
  75. MovementLoopAddLocation(NPC, 1102.39, -10.25, -762.45, 1, 0)
  76. MovementLoopAddLocation(NPC, 1099.58, -10.25, -751.98, 1, 0)
  77. MovementLoopAddLocation(NPC, 1096.26, -10.25, -742.38, 1, 0)
  78. MovementLoopAddLocation(NPC, 1088.9, -10.25, -731.06, 1, 15)
  79. elseif GetSpawnLocationID(NPC)==133778326 then
  80. MovementLoopAddLocation(NPC, 1062.81, -10.25, -790.19, 1, 15)
  81. MovementLoopAddLocation(NPC, 1057.83, -10.25, -781.93, 1, 0)
  82. MovementLoopAddLocation(NPC, 1056.38, -10.25, -777.3, 1, 0)
  83. MovementLoopAddLocation(NPC, 1056.2, -10.25, -773.97, 1, 0)
  84. MovementLoopAddLocation(NPC, 1056.07, -10.25, -772.4, 1, 0)
  85. MovementLoopAddLocation(NPC, 1056.07, -10.25, -772.4, 1, 15)
  86. MovementLoopAddLocation(NPC, 1056.03, -10.25, -775.59, 1, 0)
  87. MovementLoopAddLocation(NPC, 1056.61, -10.25, -779.35, 1, 0)
  88. MovementLoopAddLocation(NPC, 1057.36, -10.25, -781.34, 1, 0)
  89. MovementLoopAddLocation(NPC, 1060.12, -10.25, -786.08, 1, 0)
  90. end
  91. end