9
3

aCaltorsisClericPath2.lua 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. --[[
  2. Script Name : SpawnScripts/Antonica/aCaltorsisClericPath2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.02.07 10:02:15
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGhost1.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. Appearance(NPC)
  13. waypoints(NPC)
  14. end
  15. function Appearance(NPC)
  16. if GetGender(NPC)==2 then
  17. SpawnSet(NPC,"model_type",2851)
  18. else
  19. SpawnSet(NPC,"model_type",2852)
  20. end
  21. end
  22. function respawn(NPC)
  23. spawn(NPC)
  24. end
  25. function waypoints(NPC)
  26. MovementLoopAddLocation(NPC, -2143.31, -10.15, -494.98, 2, 4)
  27. MovementLoopAddLocation(NPC, -2141.56, -10.34, -489.4, 2, 0)
  28. MovementLoopAddLocation(NPC, -2139.82, -10.53, -483.82, 2, 0)
  29. MovementLoopAddLocation(NPC, -2138.33, -11.1, -479.04, 2, 0)
  30. MovementLoopAddLocation(NPC, -2136.81, -12.07, -474.18, 2, 0)
  31. MovementLoopAddLocation(NPC, -2135.07, -13.74, -468.62, 2, 0)
  32. MovementLoopAddLocation(NPC, -2133.26, -15.66, -462.83, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, -2133.26, -15.66, -462.83, 2, 0)
  34. MovementLoopAddLocation(NPC, -2145.14, -19.91, -459.14, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, -2145.14, -19.91, -459.14, 2, 0)
  36. MovementLoopAddLocation(NPC, -2143.65, -19.42, -460.99, 2, 0)
  37. MovementLoopAddLocation(NPC, -2140.77, -17.56, -464.58, 2, 0)
  38. MovementLoopAddLocation(NPC, -2137.68, -15.06, -468.43, 2, 0)
  39. MovementLoopAddLocation(NPC, -2134.83, -11.76, -471.98, 2, 0)
  40. MovementLoopAddLocation(NPC, -2132.86, -9.79, -474.43, 2, math.random(5,10))
  41. MovementLoopAddLocation(NPC, -2132.86, -9.79, -474.43, 2, 0)
  42. MovementLoopAddLocation(NPC, -2132.58, -10.32, -472.54, 2, 0)
  43. MovementLoopAddLocation(NPC, -2131.93, -11.72, -468.22, 2, 0)
  44. MovementLoopAddLocation(NPC, -2131.25, -14.16, -463.74, 2, 0)
  45. MovementLoopAddLocation(NPC, -2130.55, -16.12, -459.12, 2, 0)
  46. MovementLoopAddLocation(NPC, -2129.86, -17.62, -454.54, 2, 0)
  47. MovementLoopAddLocation(NPC, -2129.83, -17.66, -454.37, 2, math.random(5,10))
  48. MovementLoopAddLocation(NPC, -2129.83, -17.66, -454.37, 2, 0)
  49. MovementLoopAddLocation(NPC, -2129.87, -17.22, -455.72, 2, 0)
  50. MovementLoopAddLocation(NPC, -2130.06, -14.52, -461.87, 2, 0)
  51. MovementLoopAddLocation(NPC, -2130.23, -10.94, -467.54, 2, 0)
  52. MovementLoopAddLocation(NPC, -2130.39, -9, -472.86, 2, 0)
  53. MovementLoopAddLocation(NPC, -2130.56, -7.15, -478.26, 2, 0)
  54. MovementLoopAddLocation(NPC, -2130.72, -5.83, -483.57, 2, 0)
  55. MovementLoopAddLocation(NPC, -2130.89, -4.92, -489.1, 2, 0)
  56. MovementLoopAddLocation(NPC, -2131.04, -4.13, -494.14, 2, 0)
  57. MovementLoopAddLocation(NPC, -2131.2, -3.28, -499.57, 2, 0)
  58. MovementLoopAddLocation(NPC, -2131.39, -2.49, -505.74, 2, math.random(5,10))
  59. MovementLoopAddLocation(NPC, -2131.39, -2.49, -505.74, 2, 0)
  60. MovementLoopAddLocation(NPC, -2131.55, -3.03, -502.01, 2, 0)
  61. MovementLoopAddLocation(NPC, -2131.74, -3.93, -497.31, 2, 0)
  62. MovementLoopAddLocation(NPC, -2131.95, -4.89, -492.32, 2, 0)
  63. MovementLoopAddLocation(NPC, -2132.12, -5.69, -488.16, 2, 0)
  64. MovementLoopAddLocation(NPC, -2132.31, -6.7, -483.5, 2, 0)
  65. MovementLoopAddLocation(NPC, -2132.55, -8.42, -477.8, 2, math.random(5,10))
  66. MovementLoopAddLocation(NPC, -2132.55, -8.42, -477.8, 2, 0)
  67. MovementLoopAddLocation(NPC, -2131.13, -7.27, -478.82, 2, 0)
  68. MovementLoopAddLocation(NPC, -2127.96, -4.85, -481.12, 2, 0)
  69. MovementLoopAddLocation(NPC, -2124.9, -2.9, -483.34, 2, 0)
  70. MovementLoopAddLocation(NPC, -2122.53, -1.38, -485.06, 2, math.random(5,10))
  71. MovementLoopAddLocation(NPC, -2122.53, -1.38, -485.06, 2, 0)
  72. MovementLoopAddLocation(NPC, -2123.78, -2.56, -481.99, 2, 0)
  73. MovementLoopAddLocation(NPC, -2124.88, -3.66, -479.3, 2, 0)
  74. MovementLoopAddLocation(NPC, -2126.2, -5.53, -476.05, 2, 0)
  75. MovementLoopAddLocation(NPC, -2127.5, -7.4, -472.86, 2, 0)
  76. MovementLoopAddLocation(NPC, -2129.11, -9.72, -468.9, 2, math.random(5,10))
  77. MovementLoopAddLocation(NPC, -2129.11, -9.72, -468.9, 2, 0)
  78. MovementLoopAddLocation(NPC, -2130.5, -9.33, -472.1, 2, 0)
  79. MovementLoopAddLocation(NPC, -2132.65, -8.74, -477.06, 2, 0)
  80. MovementLoopAddLocation(NPC, -2135.03, -8.35, -482.52, 2, 0)
  81. MovementLoopAddLocation(NPC, -2136.62, -8.47, -486.2, 2, 0)
  82. MovementLoopAddLocation(NPC, -2138.58, -8.6, -490.71, 2, 0)
  83. MovementLoopAddLocation(NPC, -2140.2, -8.72, -494.44, 2, 0)
  84. MovementLoopAddLocation(NPC, -2142.15, -8.85, -498.93, 2, 0)
  85. MovementLoopAddLocation(NPC, -2144.31, -9.3, -503.89, 2, math.random(5,10))
  86. MovementLoopAddLocation(NPC, -2144.31, -9.3, -503.89, 2, 0)
  87. MovementLoopAddLocation(NPC, -2143.31, -10.15, -494.98, 2, 3)
  88. end