9
3

aBloodsabermeddler_3027.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --[[
  2. Script Name : SpawnScripts/DownBelow/aBloodsabermeddler_3027.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.04.03 12:04:00
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 = 4
  11. local level2 = 5
  12. local difficulty1 = 6
  13. local hp1 = 110
  14. local power1 = 55
  15. local difficulty2 = 6
  16. local hp2 = 130
  17. local power2 = 65
  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, 12.33, 0.18, -102.84, 2, 5)
  37. MovementLoopAddLocation(NPC, 12.87, 0.14, -105.04, 2, 5)
  38. MovementLoopAddLocation(NPC, 9.05, -0.1, -107.02, 2, 5)
  39. MovementLoopAddLocation(NPC, 13.2, 0.15, -101.63, 2, 5)
  40. MovementLoopAddLocation(NPC, 10.98, -0.05, -107.84, 2, 0)
  41. MovementLoopAddLocation(NPC, 3.34, -0.02, -107.49, 2, 0)
  42. MovementLoopAddLocation(NPC, 0.17, -0.1, -102.94, 2, 0)
  43. MovementLoopAddLocation(NPC, -1.79, -0.08, -104.01, 2, 5)
  44. MovementLoopAddLocation(NPC, -0.39, -0.1, -103.46, 2, 0)
  45. MovementLoopAddLocation(NPC, 4.55, -0.07, -107.3, 2, 0)
  46. MovementLoopAddLocation(NPC, 9.22, -0.09, -107.01, 2, 5)
  47. MovementLoopAddLocation(NPC, 11.15, 0.08, -105.78, 2, 5)
  48. end