9
3

ahazekodiak1.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --[[
  2. Script Name : SpawnScripts/Antonica/ahazekodiak1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.08.24 08:08:13
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 = 17
  11. local level2 = 18
  12. local difficulty1 = 9
  13. local hp1 = 4030
  14. local power1 = 1670
  15. local difficulty2 = 9
  16. local hp2 = 4410
  17. local power2 = 1670
  18. if Level == level1 then
  19. SpawnSet(NPC, "difficulty", difficulty1)
  20. SpawnSet(NPC, "hp", hp1)
  21. SpawnSet(NPC, "power", power1)
  22. elseif Level == level2
  23. then
  24. SpawnSet(NPC, "difficulty", difficulty2)
  25. SpawnSet(NPC, "hp", hp2)
  26. SpawnSet(NPC, "power", power2)
  27. end
  28. waypoints(NPC)
  29. end
  30. function hailed(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. end
  33. function respawn(NPC)
  34. end
  35. function waypoints(NPC)
  36. MovementLoopAddLocation(NPC, -2054.62, -21.44, 699.98, 2, 0)
  37. MovementLoopAddLocation(NPC, -2059.91, -18.65, 708.2, 2, 0)
  38. MovementLoopAddLocation(NPC, -2068.19, -10.83, 719.65, 2, 0)
  39. MovementLoopAddLocation(NPC, -2074.11, 7.06, 751.33, 2, 0)
  40. MovementLoopAddLocation(NPC, -2083.86, 17.12, 773.29, 2, 0)
  41. MovementLoopAddLocation(NPC, -2084.55, 27.13, 793.21, 2, 0)
  42. MovementLoopAddLocation(NPC, -2074.77, 35.05, 812.54, 2, 0)
  43. MovementLoopAddLocation(NPC, -2075.63, 41.19, 854.43, 2, 0)
  44. MovementLoopAddLocation(NPC, -2064.66, 47.14, 914.09, 2, 0)
  45. MovementLoopAddLocation(NPC, -2066.7, 47.28, 915.5, 2, 0)
  46. MovementLoopAddLocation(NPC, -2069.28, 45.87, 903, 2, 0)
  47. MovementLoopAddLocation(NPC, -2076.25, 41.9, 861.22, 2, 0)
  48. MovementLoopAddLocation(NPC, -2075.51, 35.43, 813.85, 2, 0)
  49. MovementLoopAddLocation(NPC, -2083.79, 27.95, 795.27, 2, 0)
  50. MovementLoopAddLocation(NPC, -2086.19, 22.27, 782.97, 2, 0)
  51. MovementLoopAddLocation(NPC, -2083.85, 16.47, 771.58, 2, 0)
  52. MovementLoopAddLocation(NPC, -2075.66, 7.91, 752.08, 2, 0)
  53. MovementLoopAddLocation(NPC, -2070.44, -9.82, 720.59, 2, 0)
  54. MovementLoopAddLocation(NPC, -2056.01, -21.36, 700.71, 2, 0)
  55. end