aCavemawsentinelD.lua 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. --[[
  2. Script Name : SpawnScripts/Antonica/aCavemawsentinelD.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.07.19 07:07:57
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/DarkpawGnoll1.lua")
  9. require "SpawnScripts/Generic/CombatModule"
  10. function spawn(NPC, Spawn)
  11. combatModule(NPC, Spawn)
  12. local Level = GetLevel(NPC)
  13. local level1 = 16
  14. local level2 = 17
  15. local difficulty1 = 7
  16. local hp1 = 1500
  17. local power1 = 465
  18. local difficulty2 = 7
  19. local hp2 = 1700
  20. local power2 = 540
  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. end
  38. function waypoints(NPC)
  39. MovementLoopAddLocation(NPC, -774.84, -11.04, -196.89, 2, 5)
  40. MovementLoopAddLocation(NPC, -785.92, -11.48, -195.03, 2, 0)
  41. MovementLoopAddLocation(NPC, -790.24, -11.78, -193.1, 2, 0)
  42. MovementLoopAddLocation(NPC, -791.68, -12.56, -186.06, 2, 0)
  43. MovementLoopAddLocation(NPC, -789.14, -13.69, -172.34, 2, 0)
  44. MovementLoopAddLocation(NPC, -790.8, -14.03, -161.87, 2, 0)
  45. MovementLoopAddLocation(NPC, -797.35, -15.04, -150.84, 2, 0)
  46. MovementLoopAddLocation(NPC, -800.68, -15.93, -146.7, 2, 0)
  47. MovementLoopAddLocation(NPC, -806.01, -17.71, -140.43, 2, 0)
  48. MovementLoopAddLocation(NPC, -817.43, -20.06, -136.11, 2, 0)
  49. MovementLoopAddLocation(NPC, -827.01, -21.84, -122.8, 2, 0)
  50. MovementLoopAddLocation(NPC, -831.42, -21.74, -118.15, 2, 0)
  51. MovementLoopAddLocation(NPC, -836.88, -21.39, -108.87, 2, 0)
  52. MovementLoopAddLocation(NPC, -847.99, -20.65, -98.42, 2, 0)
  53. MovementLoopAddLocation(NPC, -857.6, -20.67, -91.61, 2, 0)
  54. MovementLoopAddLocation(NPC, -867.98, -20.96, -84.2, 2, 0)
  55. MovementLoopAddLocation(NPC, -852.74, -20.46, -92.94, 2, 0)
  56. MovementLoopAddLocation(NPC, -843.21, -21.25, -104.91, 2, 0)
  57. MovementLoopAddLocation(NPC, -835.05, -21.51, -111.99, 2, 0)
  58. MovementLoopAddLocation(NPC, -829.15, -21.92, -121.23, 2, 0)
  59. MovementLoopAddLocation(NPC, -824.7, -21.12, -131.31, 2, 0)
  60. MovementLoopAddLocation(NPC, -810.91, -18.74, -138.66, 2, 0)
  61. MovementLoopAddLocation(NPC, -803.04, -16.8, -143.17, 2, 0)
  62. MovementLoopAddLocation(NPC, -798.9, -15.41, -149.09, 2, 0)
  63. MovementLoopAddLocation(NPC, -794.13, -14, -156.25, 2, 0)
  64. MovementLoopAddLocation(NPC, -790.47, -14.24, -164.17, 2, 0)
  65. MovementLoopAddLocation(NPC, -789.67, -13.55, -174.18, 2, 0)
  66. MovementLoopAddLocation(NPC, -792.13, -12.87, -183.4, 2, 0)
  67. MovementLoopAddLocation(NPC, -791.28, -11.58, -190.59, 2, 0)
  68. MovementLoopAddLocation(NPC, -785.75, -11.55, -194.46, 2, 0)
  69. MovementLoopAddLocation(NPC, -778.75, -11.39, -195.08, 2, 0)
  70. MovementLoopAddLocation(NPC, -774.84, -11.04, -196.89, 2, 0)
  71. end