aCaltorsisMagiPath4.lua 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. --[[
  2. Script Name : SpawnScripts/Antonica/aCaltorsisMagiPath4.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.02.07 09:02:47
  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, -2099.83, 10.22, -494.81, 2, 4)
  41. MovementLoopAddLocation(NPC, -2097.75, 10.33, -481.2, 2, 0)
  42. MovementLoopAddLocation(NPC, -2096.68, 10.1, -474.28, 2, 0)
  43. MovementLoopAddLocation(NPC, -2095.09, 9.47, -464.05, 2, math.random(5,10))
  44. MovementLoopAddLocation(NPC, -2095.09, 9.47, -464.05, 2, 0)
  45. MovementLoopAddLocation(NPC, -2098.47, 8.39, -466.57, 2, 0)
  46. MovementLoopAddLocation(NPC, -2104.03, 6.02, -470.72, 2, 0)
  47. MovementLoopAddLocation(NPC, -2109.38, 3.54, -474.72, 2, 0)
  48. MovementLoopAddLocation(NPC, -2115.56, 0.99, -479.33, 2, math.random(5,10))
  49. MovementLoopAddLocation(NPC, -2115.56, 0.99, -479.33, 2, 0)
  50. MovementLoopAddLocation(NPC, -2110.98, 2.73, -475.66, 2, 0)
  51. MovementLoopAddLocation(NPC, -2107.36, 5.05, -475.59, 2, 0)
  52. MovementLoopAddLocation(NPC, -2101.18, 8.04, -475.48, 2, 0)
  53. MovementLoopAddLocation(NPC, -2095.25, 10.73, -475.38, 2, 0)
  54. MovementLoopAddLocation(NPC, -2091.09, 11.68, -475.3, 2, math.random(5,10))
  55. MovementLoopAddLocation(NPC, -2091.09, 11.68, -475.3, 2, 0)
  56. MovementLoopAddLocation(NPC, -2110.4, -3.45, -456.46, 2, 0)
  57. MovementLoopAddLocation(NPC, -2111.78, -1.57, -462.69, 2, 0)
  58. MovementLoopAddLocation(NPC, -2113.52, -0.15, -470.57, 2, 0)
  59. MovementLoopAddLocation(NPC, -2115.13, 0.84, -477.84, 2, 0)
  60. MovementLoopAddLocation(NPC, -2116.19, 1.47, -482.64, 2, math.random(5,10))
  61. MovementLoopAddLocation(NPC, -2116.19, 1.47, -482.64, 2, 0)
  62. MovementLoopAddLocation(NPC, -2114.61, 1.8, -480.66, 2, 0)
  63. MovementLoopAddLocation(NPC, -2110.16, 3.12, -475.07, 2, 0)
  64. MovementLoopAddLocation(NPC, -2105.7, 4.52, -469.47, 2, 0)
  65. MovementLoopAddLocation(NPC, -2101.98, 5.68, -464.81, 2, 0)
  66. MovementLoopAddLocation(NPC, -2098.9, 6.42, -460.94, 2, math.random(5,10))
  67. MovementLoopAddLocation(NPC, -2098.9, 6.42, -460.94, 2, 0)
  68. MovementLoopAddLocation(NPC, -2097.11, 8.09, -462.07, 2, 0)
  69. MovementLoopAddLocation(NPC, -2094.5, 9.63, -464.29, 2, 0)
  70. MovementLoopAddLocation(NPC, -2089.78, 11.18, -468.3, 2, 0)
  71. MovementLoopAddLocation(NPC, -2089.78, 11.18, -468.3, 2, 0)
  72. MovementLoopAddLocation(NPC, -2093.15, 10.64, -470.4, 2, 0)
  73. MovementLoopAddLocation(NPC, -2099.55, 8.71, -474.38, 2, 0)
  74. MovementLoopAddLocation(NPC, -2105.44, 6.25, -478.05, 2, 0)
  75. MovementLoopAddLocation(NPC, -2111.57, 3.68, -481.86, 2, 0)
  76. MovementLoopAddLocation(NPC, -2118.03, 1.08, -485.88, 2, 0)
  77. MovementLoopAddLocation(NPC, -2122.13, -0.6, -488.43, 2, 0)
  78. MovementLoopAddLocation(NPC, -2122.77, -0.86, -488.83, 2, 0)
  79. MovementLoopAddLocation(NPC, -2118.76, 1.01, -487.66, 2, 0)
  80. MovementLoopAddLocation(NPC, -2113.37, 3.25, -486.08, 2, 0)
  81. MovementLoopAddLocation(NPC, -2107.44, 5.96, -484.35, 2, 0)
  82. MovementLoopAddLocation(NPC, -2102.24, 8.32, -482.82, 2, math.random(5,10))
  83. MovementLoopAddLocation(NPC, -2102.24, 8.32, -482.82, 2, 0)
  84. MovementLoopAddLocation(NPC, -2102.24, 8.67, -486.13, 2, 0)
  85. MovementLoopAddLocation(NPC, -2102.24, 9.04, -489.64, 2, 0)
  86. MovementLoopAddLocation(NPC, -2099.83, 10.22, -494.81, 2, 3)
  87. end