9
3

aCaltorsisMagiPath2.lua 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. --[[
  2. Script Name : SpawnScripts/Antonica/aCaltorsisMagiPath2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.02.07 09:02:32
  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, -2133.97, -6.08, -491.21, 2, 4)
  41. MovementLoopAddLocation(NPC, -2125.44, -3.17, -483.44, 2, 0)
  42. MovementLoopAddLocation(NPC, -2118.36, -0.99, -476.97, 2, math.random(5,10))
  43. MovementLoopAddLocation(NPC, -2118.36, -0.99, -476.97, 2, 0)
  44. MovementLoopAddLocation(NPC, -2125.59, -3.02, -484.71, 2, 0)
  45. MovementLoopAddLocation(NPC, -2130.66, -4.24, -492.39, 2, 0)
  46. MovementLoopAddLocation(NPC, -2134.11, -4.71, -499.61, 2, math.random(5,10))
  47. MovementLoopAddLocation(NPC, -2134.11, -4.71, -499.61, 2, 0)
  48. MovementLoopAddLocation(NPC, -2130.22, -3.22, -497.08, 2, 0)
  49. MovementLoopAddLocation(NPC, -2123.7, -0.65, -492.83, 2, 0)
  50. MovementLoopAddLocation(NPC, -2117.81, 1.68, -488.99, 2, 0)
  51. MovementLoopAddLocation(NPC, -2111.31, 4.12, -484.76, 2, math.random(5,10))
  52. MovementLoopAddLocation(NPC, -2111.31, 4.12, -484.76, 2, 0)
  53. MovementLoopAddLocation(NPC, -2109.78, 4.13, -477.99, 2, 0)
  54. MovementLoopAddLocation(NPC, -2104.54, 4.41, -466.42, 2, 0)
  55. MovementLoopAddLocation(NPC, -2101.18, 5.12, -461.57, 2, math.random(5,10))
  56. MovementLoopAddLocation(NPC, -2101.18, 5.12, -461.57, 2, 0)
  57. MovementLoopAddLocation(NPC, -2108.03, 2.3, -467.35, 2, 0)
  58. MovementLoopAddLocation(NPC, -2114.46, -0.58, -470.72, 2, 0)
  59. MovementLoopAddLocation(NPC, -2120.88, -2.96, -474.09, 2, 0)
  60. MovementLoopAddLocation(NPC, -2127.09, -5.55, -477.35, 2, 0)
  61. MovementLoopAddLocation(NPC, -2131.94, -7.35, -479.9, 2, 0)
  62. MovementLoopAddLocation(NPC, -2140.13, -10.61, -484.2, 2, 0)
  63. MovementLoopAddLocation(NPC, -2146.21, -12.93, -487.39, 2, math.random(5,10))
  64. MovementLoopAddLocation(NPC, -2146.21, -12.93, -487.39, 2, 0)
  65. MovementLoopAddLocation(NPC, -2150.41, -15.75, -479.71, 2, 0)
  66. MovementLoopAddLocation(NPC, -2151.44, -16.78, -476.13, 2, 0)
  67. MovementLoopAddLocation(NPC, -2152.26, -19.13, -469.43, 2, math.random(5,10))
  68. MovementLoopAddLocation(NPC, -2152.26, -19.13, -469.43, 2, 0)
  69. MovementLoopAddLocation(NPC, -2149.88, -16.95, -473.5, 2, 0)
  70. MovementLoopAddLocation(NPC, -2146.22, -14.33, -479.93, 2, 0)
  71. MovementLoopAddLocation(NPC, -2136.33, -6.3, -496.74, 2, math.random(5,10))
  72. MovementLoopAddLocation(NPC, -2136.33, -6.3, -496.74, 2, 0)
  73. MovementLoopAddLocation(NPC, -2133.97, -6.08, -491.21, 2, 3)
  74. end