aCaltorsisMagiPath3.lua 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. --[[
  2. Script Name : SpawnScripts/Antonica/aCaltorsisMagiPath3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.02.07 09:02:57
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/Antonica_Skeleton1.lua")
  9. require "SpawnScripts/Generic/CombatModule"
  10. function spawn(NPC, Spawn)
  11. combatModule(NPC, Spawn)
  12. local Level = GetLevel(NPC)
  13. local level1 = 18
  14. local level2 = 19
  15. local difficulty1 = 6
  16. local hp1 = 1180
  17. local power1 = 410
  18. local difficulty2 = 6
  19. local hp2 = 1315
  20. local power2 = 425
  21. if Level == level1 then
  22. SpawnSet(NPC, "difficulty", difficulty1)
  23. SpawnSet(NPC, "hp", hp1)
  24. SpawnSet(NPC, "power", power1)
  25. elseif Level == level2
  26. then
  27. SpawnSet(NPC, "difficulty", difficulty2)
  28. SpawnSet(NPC, "hp", hp2)
  29. SpawnSet(NPC, "power", power2)
  30. end
  31. waypoints(NPC)
  32. end
  33. function hailed(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. end
  36. function respawn(NPC)
  37. spawn(NPC)
  38. end
  39. function waypoints(NPC)
  40. MovementLoopAddLocation(NPC, -2123.77, -18.04, -443.68, 2, 4)
  41. MovementLoopAddLocation(NPC, -2135.48, -19.21, -454.43, 2, math.random(5,10))
  42. MovementLoopAddLocation(NPC, -2135.48, -19.21, -454.43, 2, 0)
  43. MovementLoopAddLocation(NPC, -2127.07, -19.91, -434.45, 2, 0)
  44. MovementLoopAddLocation(NPC, -2118.27, -18.94, -425.26, 2, math.random(5,10))
  45. MovementLoopAddLocation(NPC, -2118.27, -18.94, -425.26, 2, 0)
  46. MovementLoopAddLocation(NPC, -2114.74, -17.37, -430.01, 2, 0)
  47. MovementLoopAddLocation(NPC, -2109.95, -12.74, -435.26, 2, 0)
  48. MovementLoopAddLocation(NPC, -2104.59, -7.26, -438.42, 2, 0)
  49. MovementLoopAddLocation(NPC, -2099.92, -2.53, -441.17, 2, 0)
  50. MovementLoopAddLocation(NPC, -2096.06, 1.32, -443.44, 2, 0)
  51. MovementLoopAddLocation(NPC, -2093.91, 3.02, -444.71, 2, 0)
  52. MovementLoopAddLocation(NPC, -2089.41, 6.48, -447.37, 2, 0)
  53. MovementLoopAddLocation(NPC, -2084.65, 10.17, -450.17, 2, math.random(5,10))
  54. MovementLoopAddLocation(NPC, -2084.65, 10.17, -450.17, 2, 0)
  55. MovementLoopAddLocation(NPC, -2085.68, 7.66, -445.27, 2, 0)
  56. MovementLoopAddLocation(NPC, -2087.43, 4.27, -436.88, 2, 0)
  57. MovementLoopAddLocation(NPC, -2089.24, -0.05, -428.25, 2, 0)
  58. MovementLoopAddLocation(NPC, -2091.74, -3.16, -422.28, 2, 0)
  59. MovementLoopAddLocation(NPC, -2094.63, -5.96, -415.38, 2, 0)
  60. MovementLoopAddLocation(NPC, -2098.21, -9.44, -406.84, 2, math.random(5,10))
  61. MovementLoopAddLocation(NPC, -2098.21, -9.44, -406.84, 2, 0)
  62. MovementLoopAddLocation(NPC, -2099.92, -9.23, -419.54, 2, 0)
  63. MovementLoopAddLocation(NPC, -2102.01, -9.05, -427.8, 2, 0)
  64. MovementLoopAddLocation(NPC, -2108, -9.31, -439.93, 2, 0)
  65. MovementLoopAddLocation(NPC, -2115.22, -10.29, -450.17, 2, 0)
  66. MovementLoopAddLocation(NPC, -2123.66, -11.38, -459.59, 2, math.random(5,10))
  67. MovementLoopAddLocation(NPC, -2123.66, -11.38, -459.59, 2, 0)
  68. MovementLoopAddLocation(NPC, -2126.76, -14.64, -458.03, 2, 0)
  69. MovementLoopAddLocation(NPC, -2132.06, -18.3, -455.38, 2, 0)
  70. MovementLoopAddLocation(NPC, -2139.66, -20.07, -451.56, 2, math.random(5,10))
  71. MovementLoopAddLocation(NPC, -2139.66, -20.07, -451.56, 2, 0)
  72. MovementLoopAddLocation(NPC, -2152.4, -20.1, -462.18, 2, 0)
  73. MovementLoopAddLocation(NPC, -2152.4, -20.1, -462.18, 2, 0)
  74. MovementLoopAddLocation(NPC, -2141.36, -20.15, -452.1, 2, 0)
  75. MovementLoopAddLocation(NPC, -2132.57, -19.93, -441.83, 2, 0)
  76. MovementLoopAddLocation(NPC, -2125.29, -19.68, -432.47, 2, math.random(5,10))
  77. MovementLoopAddLocation(NPC, -2125.29, -19.68, -432.47, 2, 0)
  78. MovementLoopAddLocation(NPC, -2127.78, -19.44, -438.56, 2, 0)
  79. MovementLoopAddLocation(NPC, -2123.77, -18.04, -443.68, 2, 3)
  80. end