aCaltorsisMagiPath1.lua 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. --[[
  2. Script Name : SpawnScripts/Antonica/aCaltorsisMagiPath1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.02.07 09:02:42
  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, -2152.83, -13.63, -499.21, 2, 4)
  41. MovementLoopAddLocation(NPC, -2140.77, -9.67, -490.94, 2, math.random(5,10))
  42. MovementLoopAddLocation(NPC, -2140.77, -9.67, -490.94, 2, 0)
  43. MovementLoopAddLocation(NPC, -2136.97, -9.25, -483.23, 2, 0)
  44. MovementLoopAddLocation(NPC, -2131.97, -5.95, -486.31, 2, math.random(5,10))
  45. MovementLoopAddLocation(NPC, -2131.97, -5.95, -486.31, 2, 0)
  46. MovementLoopAddLocation(NPC, -2137.07, -9.13, -484.09, 2, 0)
  47. MovementLoopAddLocation(NPC, -2136.54, -12.25, -473.24, 2, 0)
  48. MovementLoopAddLocation(NPC, -2130.27, -10.54, -468.4, 2, 0)
  49. MovementLoopAddLocation(NPC, -2128.14, -11.18, -464.86, 2, math.random(5,10))
  50. MovementLoopAddLocation(NPC, -2128.14, -11.18, -464.86, 2, 0)
  51. MovementLoopAddLocation(NPC, -2133.91, -13.72, -467.37, 2, 0)
  52. MovementLoopAddLocation(NPC, -2137.42, -13.12, -472.2, 2, 0)
  53. MovementLoopAddLocation(NPC, -2145.96, -15.49, -473.98, 2, math.random(5,10))
  54. MovementLoopAddLocation(NPC, -2145.96, -15.49, -473.98, 2, 0)
  55. MovementLoopAddLocation(NPC, -2139.45, -13.38, -474.24, 2, 0)
  56. MovementLoopAddLocation(NPC, -2137.9, -10.77, -479.41, 2, 0)
  57. MovementLoopAddLocation(NPC, -2137.12, -8.96, -485.06, 2, 0)
  58. MovementLoopAddLocation(NPC, -2135.96, -7.29, -490.28, 2, 0)
  59. MovementLoopAddLocation(NPC, -2135.06, -6.43, -492.36, 2, math.random(5,10))
  60. MovementLoopAddLocation(NPC, -2135.06, -6.43, -492.36, 2, 0)
  61. MovementLoopAddLocation(NPC, -2136.89, -5.93, -500.5, 2, 0)
  62. MovementLoopAddLocation(NPC, -2138.39, -6.03, -506.32, 2, 0)
  63. MovementLoopAddLocation(NPC, -2139.47, -6.25, -510.53, 2, math.random(5,10))
  64. MovementLoopAddLocation(NPC, -2139.47, -6.25, -510.53, 2, 0)
  65. MovementLoopAddLocation(NPC, -2145.53, -9.7, -509.13, 2, 0)
  66. MovementLoopAddLocation(NPC, -2150.61, -12.13, -507.95, 2, 0)
  67. MovementLoopAddLocation(NPC, -2152.83, -13.63, -499.21, 2, 3)
  68. end