

abbreviations

rs- Relic skill
lm- landmark commands

as - active skill
aas - advanced active skill

util - utility commands

northlandar new moon component-
Activate every 0.1 sec, selects random enemy. The projectile just flies downwards until it hits a block, then explode.
Therefore this skill cant be effectively used if there's not min of 5 blks space above enemy head.


execute if entity @a[selector] run function ampsurv:util-skill-learning


#Relic Detections
tag @a[nbt=!{Inventory:[{id:"minecraft:golden_sword",tag:{Unbreakable:1,AttributeModifiers:[{AttributeName:"generic.attack_damage",Amount:10,Slot:mainhand,Name:"generic.attack_damage",UUID:[I;-121927,53926,115740,-107852]}],display:{Name:'[{"text":"Laevateinn The Ignis Twilight","italic":false,"bold":true,"color":"gold"}]',Lore:['[{"text":"Sharpness VII","italic":false,"color":"gray"}]','[{"text":"Fire Aspect 255","italic":false,"color":"gray"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Tier IX Relic","italic":false,"color":"gold","bold":true},{"text":"","italic":false,"color":"dark_purple","bold":false}]','[{"text":"It radiates with insurmountable","italic":true,"color":"dark_purple"}]','[{"text":"yet unstable pyro mana that","italic":true,"color":"dark_purple"}]','[{"text":"periodically creates great heat","italic":true,"color":"dark_purple"}]','[{"text":"waves.","italic":true,"color":"dark_purple"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Ignis Wave:","italic":false,"color":"gold","underlined":true},{"text":" ","underlined":false},{"text":"(8 Second Cooldown)","underlined":false,"color":"aqua"},{"text":"","underlined":false,"color":"dark_purple"}]','[{"text":"Melee damage you dealt using","italic":false,"color":"gold"}]','[{"text":"Golden Sword creates a fire wave travelling","italic":false,"color":"gold"}]','[{"text":"to the direction you\'re facing,","italic":false,"color":"gold"}]','[{"text":"dealing damage and burn. CD","italic":false,"color":"gold"}]','[{"text":"reduced by 0.5 when an enemy recieves damage","italic":false,"color":"gold"}]','[{"text":"within 6 blks from bearer.","italic":false,"color":"gold"}]','[{"text":"Twilight Eternal Flame:","italic":false,"color":"gold","underlined":true},{"text":"","italic":false,"color":"gold","underlined":false}]','[{"text":"Attacks cause burning that never","italic":false,"color":"gold"}]','[{"text":"ends naturally. Has no Attack Speed penalty.","italic":false,"color":"gold"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Relics","italic":false,"color":"yellow","bold":true},{"text":" grant their skills when","italic":false,"color":"yellow","bold":false}]','[{"text":"they\'re placed in a player\'s","italic":false,"color":"yellow"}]','[{"text":"Inventory.","italic":false,"color":"yellow"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"14 Attack Damage","italic":false,"color":"dark_green"}]']},Enchantments:[{id:fire_aspect,lvl:255},{id:sharpness,lvl:7}],HideFlags:3} }]},tag=iw] remove iw
tag @a[nbt={Inventory:[{id:"minecraft:golden_sword",tag:{Unbreakable:1,AttributeModifiers:[{AttributeName:"generic.attack_damage",Amount:10,Slot:mainhand,Name:"generic.attack_damage",UUID:[I;-121927,53926,115740,-107852]}],display:{Name:'[{"text":"Laevateinn The Ignis Twilight","italic":false,"bold":true,"color":"gold"}]',Lore:['[{"text":"Sharpness VII","italic":false,"color":"gray"}]','[{"text":"Fire Aspect 255","italic":false,"color":"gray"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Tier IX Relic","italic":false,"color":"gold","bold":true},{"text":"","italic":false,"color":"dark_purple","bold":false}]','[{"text":"It radiates with insurmountable","italic":true,"color":"dark_purple"}]','[{"text":"yet unstable pyro mana that","italic":true,"color":"dark_purple"}]','[{"text":"periodically creates great heat","italic":true,"color":"dark_purple"}]','[{"text":"waves.","italic":true,"color":"dark_purple"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Ignis Wave:","italic":false,"color":"gold","underlined":true},{"text":" ","underlined":false},{"text":"(8 Second Cooldown)","underlined":false,"color":"aqua"},{"text":"","underlined":false,"color":"dark_purple"}]','[{"text":"Melee damage you dealt using","italic":false,"color":"gold"}]','[{"text":"Golden Sword creates a fire wave travelling","italic":false,"color":"gold"}]','[{"text":"to the direction you\'re facing,","italic":false,"color":"gold"}]','[{"text":"dealing damage and burn. CD","italic":false,"color":"gold"}]','[{"text":"reduced by 0.5 when an enemy recieves damage","italic":false,"color":"gold"}]','[{"text":"within 6 blks from bearer.","italic":false,"color":"gold"}]','[{"text":"Twilight Eternal Flame:","italic":false,"color":"gold","underlined":true},{"text":"","italic":false,"color":"gold","underlined":false}]','[{"text":"Attacks cause burning that never","italic":false,"color":"gold"}]','[{"text":"ends naturally. Has no Attack Speed penalty.","italic":false,"color":"gold"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Relics","italic":false,"color":"yellow","bold":true},{"text":" grant their skills when","italic":false,"color":"yellow","bold":false}]','[{"text":"they\'re placed in a player\'s","italic":false,"color":"yellow"}]','[{"text":"Inventory.","italic":false,"color":"yellow"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"14 Attack Damage","italic":false,"color":"dark_green"}]']},Enchantments:[{id:fire_aspect,lvl:255},{id:sharpness,lvl:7}],HideFlags:3} }]},tag=!iw] add iw

tag @a[nbt=!{Inventory:[{id:"minecraft:iron_sword",tag:{Unbreakable:1,AttributeModifiers:[{AttributeName:"generic.armor",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.armor",UUID:[I;-121927,144496,161022,-288992]},{AttributeName:"generic.attack_damage",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.attack_damage",UUID:[I;-121927,144596,161022,-289192]},{AttributeName:"generic.armor_toughness",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.armor_toughness",UUID:[I;-121927,144696,161022,-289392]},{AttributeName:"generic.attack_knockback",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.attack_knockback",UUID:[I;-121927,144796,161022,-289592]},{AttributeName:"generic.attack_speed",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.attack_speed",UUID:[I;-121927,144896,161022,-289792]},{AttributeName:"generic.attack_speed",Amount:-2.4,Slot:mainhand,Name:"generic.attack_speed",UUID:[I;-121927,144996,161022,-289992]},{AttributeName:"generic.movement_speed",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.movement_speed",UUID:[I;-121927,145096,161022,-290192]},{AttributeName:"generic.luck",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.luck",UUID:[I;-121927,145196,161022,-290392]},{AttributeName:"generic.knockback_resistance",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.knockback_resistance",UUID:[I;-121927,145296,161022,-290592]},{AttributeName:"generic.attack_damage",Amount:6,Slot:mainhand,Name:"generic.attack_damage",UUID:[I;-121927,145396,161022,-290792]}],display:{Name:'[{"text":"Mars Attila The Godsbane","italic":false,"bold":true,"color":"gold"}]',Lore:['[{"text":"Sharpness XX","italic":false,"color":"gray"}]','[{"text":"Looting V","italic":false,"color":"gray"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Tier IX Relic","italic":false,"color":"gold","bold":true},{"text":"","italic":false,"color":"dark_purple","bold":false}]','[{"text":"Legendary sword of the God of War,","italic":true,"color":"dark_purple"}]','[{"text":"It makes the bearer thirst for the","italic":true,"color":"dark_purple"}]','[{"text":"heat of battle.","italic":true,"color":"dark_purple"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Attila\'s Invitation:","italic":false,"color":"gold","underlined":true},{"text":" ","color":"dark_purple","underlined":false},{"text":"(10 second Cooldown)","color":"aqua","underlined":false},{"text":"","color":"dark_purple","underlined":false}]','[{"text":"Melee attacks cause enemies within 8","italic":false,"color":"gold"}]','[{"text":"blocks to continuously be pulled","italic":false,"color":"gold"}]','[{"text":"towards you for 1 second, while you","italic":false,"color":"gold"}]','[{"text":"gain bonus attack dmg and Absorption","italic":false,"color":"gold"}]','[{"text":"for 6 seconds.","italic":false,"color":"gold"}]','[{"text":"Mars\'s Madness:","italic":false,"color":"gold","underlined":true},{"text":"","italic":false,"color":"gold","underlined":false}]','[{"text":"Holding this sword in MainHand","italic":false,"color":"gold"}]','[{"text":"increases all your stats except","italic":false,"color":"gold"}]','[{"text":"Max HP by 20%.","italic":false,"color":"gold"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Relics","italic":false,"color":"yellow","bold":true},{"text":" grant their skills when","italic":false,"color":"yellow","bold":false}]','[{"text":"they\'re placed in a player\'s","italic":false,"color":"yellow"}]','[{"text":"Inventory","italic":false,"color":"yellow"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"16.5 Attack Damage","italic":false,"color":"dark_green"}]','[{"text":"1.6 Attack Speed","italic":false,"color":"dark_green"}]']},Enchantments:[{id:looting,lvl:5},{id:sharpness,lvl:20}],HideFlags:3} }]},tag=marsattila] remove marsattila
tag @a[nbt={Inventory:[{id:"minecraft:iron_sword",tag:{Unbreakable:1,AttributeModifiers:[{AttributeName:"generic.armor",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.armor",UUID:[I;-121927,144496,161022,-288992]},{AttributeName:"generic.attack_damage",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.attack_damage",UUID:[I;-121927,144596,161022,-289192]},{AttributeName:"generic.armor_toughness",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.armor_toughness",UUID:[I;-121927,144696,161022,-289392]},{AttributeName:"generic.attack_knockback",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.attack_knockback",UUID:[I;-121927,144796,161022,-289592]},{AttributeName:"generic.attack_speed",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.attack_speed",UUID:[I;-121927,144896,161022,-289792]},{AttributeName:"generic.attack_speed",Amount:-2.4,Slot:mainhand,Name:"generic.attack_speed",UUID:[I;-121927,144996,161022,-289992]},{AttributeName:"generic.movement_speed",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.movement_speed",UUID:[I;-121927,145096,161022,-290192]},{AttributeName:"generic.luck",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.luck",UUID:[I;-121927,145196,161022,-290392]},{AttributeName:"generic.knockback_resistance",Amount:0.2,Slot:mainhand,Operation:1,Name:"generic.knockback_resistance",UUID:[I;-121927,145296,161022,-290592]},{AttributeName:"generic.attack_damage",Amount:6,Slot:mainhand,Name:"generic.attack_damage",UUID:[I;-121927,145396,161022,-290792]}],display:{Name:'[{"text":"Mars Attila The Godsbane","italic":false,"bold":true,"color":"gold"}]',Lore:['[{"text":"Sharpness XX","italic":false,"color":"gray"}]','[{"text":"Looting V","italic":false,"color":"gray"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Tier IX Relic","italic":false,"color":"gold","bold":true},{"text":"","italic":false,"color":"dark_purple","bold":false}]','[{"text":"Legendary sword of the God of War,","italic":true,"color":"dark_purple"}]','[{"text":"It makes the bearer thirst for the","italic":true,"color":"dark_purple"}]','[{"text":"heat of battle.","italic":true,"color":"dark_purple"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Attila\'s Invitation:","italic":false,"color":"gold","underlined":true},{"text":" ","color":"dark_purple","underlined":false},{"text":"(10 second Cooldown)","color":"aqua","underlined":false},{"text":"","color":"dark_purple","underlined":false}]','[{"text":"Melee attacks cause enemies within 8","italic":false,"color":"gold"}]','[{"text":"blocks to continuously be pulled","italic":false,"color":"gold"}]','[{"text":"towards you for 1 second, while you","italic":false,"color":"gold"}]','[{"text":"gain bonus attack dmg and Absorption","italic":false,"color":"gold"}]','[{"text":"for 6 seconds.","italic":false,"color":"gold"}]','[{"text":"Mars\'s Madness:","italic":false,"color":"gold","underlined":true},{"text":"","italic":false,"color":"gold","underlined":false}]','[{"text":"Holding this sword in MainHand","italic":false,"color":"gold"}]','[{"text":"increases all your stats except","italic":false,"color":"gold"}]','[{"text":"Max HP by 20%.","italic":false,"color":"gold"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Relics","italic":false,"color":"yellow","bold":true},{"text":" grant their skills when","italic":false,"color":"yellow","bold":false}]','[{"text":"they\'re placed in a player\'s","italic":false,"color":"yellow"}]','[{"text":"Inventory","italic":false,"color":"yellow"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"16.5 Attack Damage","italic":false,"color":"dark_green"}]','[{"text":"1.6 Attack Speed","italic":false,"color":"dark_green"}]']},Enchantments:[{id:looting,lvl:5},{id:sharpness,lvl:20}],HideFlags:3} }]},tag=!marsattila] add marsattila

tag @a[nbt=!{Inventory:[{id:"minecraft:netherite_sword",tag:{Unbreakable:1,display:{Name:'[{"text":"Excalibur The Righteous","italic":false,"color":"gold","bold":true}]',Lore:['[{"text":"Bane of Arthropods XX","italic":false,"color":"gray"}]','[{"text":"Sharpness XX","italic":false,"color":"gray"}]','[{"text":"Smite XX","italic":false,"color":"gray"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Tier IX Relic","italic":false,"color":"gold","bold":true},{"text":"","italic":false,"color":"dark_purple","bold":false}]','[{"text":"The fabled sword in stone,","italic":true,"color":"dark_purple"}]','[{"text":"It lends immense power to those","italic":true,"color":"dark_purple"}]','[{"text":"it deems righteous","italic":true,"color":"dark_purple"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Valiant Righteousness:","italic":false,"color":"gold","underlined":true},{"text":" ","underlined":false},{"text":"(10 Second Cooldown)","underlined":false,"color":"aqua"},{"text":"","underlined":false,"color":"dark_purple"}]','[{"text":"Dealing melee damage releases","italic":false,"color":"gold"}]','[{"text":"an energy blast that damages","italic":false,"color":"gold"}]','[{"text":"enemies and reduces their","italic":false,"color":"gold"}]','[{"text":"resistance and attack damage for","italic":false,"color":"gold"}]','[{"text":"5 seconds.","italic":false,"color":"gold"}]','[{"text":"Bane of Evil:","italic":false,"color":"gold","underlined":true},{"text":"","italic":false,"color":"gold","underlined":false}]','[{"text":"Extremely Effective against most Monsters.","italic":false,"color":"gold"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Relics","italic":false,"color":"yellow","bold":true},{"text":" grant their skills when","italic":false,"color":"yellow","bold":false}]','[{"text":"they\'re placed in a player\'s","italic":false,"color":"yellow"}]','[{"text":"Inventory.","italic":false,"color":"yellow"}]']},Enchantments:[{id:bane_of_arthropods,lvl:20},{id:sharpness,lvl:20},{id:smite,lvl:20}],HideFlags:1} }]},tag=excalibur] remove excalibur
tag @a[nbt={Inventory:[{id:"minecraft:netherite_sword",tag:{Unbreakable:1,display:{Name:'[{"text":"Excalibur The Righteous","italic":false,"color":"gold","bold":true}]',Lore:['[{"text":"Bane of Arthropods XX","italic":false,"color":"gray"}]','[{"text":"Sharpness XX","italic":false,"color":"gray"}]','[{"text":"Smite XX","italic":false,"color":"gray"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Tier IX Relic","italic":false,"color":"gold","bold":true},{"text":"","italic":false,"color":"dark_purple","bold":false}]','[{"text":"The fabled sword in stone,","italic":true,"color":"dark_purple"}]','[{"text":"It lends immense power to those","italic":true,"color":"dark_purple"}]','[{"text":"it deems righteous","italic":true,"color":"dark_purple"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Valiant Righteousness:","italic":false,"color":"gold","underlined":true},{"text":" ","underlined":false},{"text":"(10 Second Cooldown)","underlined":false,"color":"aqua"},{"text":"","underlined":false,"color":"dark_purple"}]','[{"text":"Dealing melee damage releases","italic":false,"color":"gold"}]','[{"text":"an energy blast that damages","italic":false,"color":"gold"}]','[{"text":"enemies and reduces their","italic":false,"color":"gold"}]','[{"text":"resistance and attack damage for","italic":false,"color":"gold"}]','[{"text":"5 seconds.","italic":false,"color":"gold"}]','[{"text":"Bane of Evil:","italic":false,"color":"gold","underlined":true},{"text":"","italic":false,"color":"gold","underlined":false}]','[{"text":"Extremely Effective against most Monsters.","italic":false,"color":"gold"},{"text":"","italic":false,"color":"dark_purple"}]','[{"text":"Relics","italic":false,"color":"yellow","bold":true},{"text":" grant their skills when","italic":false,"color":"yellow","bold":false}]','[{"text":"they\'re placed in a player\'s","italic":false,"color":"yellow"}]','[{"text":"Inventory.","italic":false,"color":"yellow"}]']},Enchantments:[{id:bane_of_arthropods,lvl:20},{id:sharpness,lvl:20},{id:smite,lvl:20}],HideFlags:1} }]},tag=!excalibur] add excalibur


