item replace entity @s armor.head with chainmail_helmet{display:{Name:'{"text":"Dragonscale Helmet","italic":false}'},Enchantments:[{id:"minecraft:protection",lvl:5},{id:"minecraft:fire_protection",lvl:3},{id:"minecraft:projectile_protection",lvl:4},{id:"minecraft:infinity",lvl:1},{id:"minecraft:vanishing_curse",lvl:1}],AttributeModifiers:[{AttributeName:"generic.armor",Amount:4,Slot:head,Name:"generic.armor",UUID:[I;-12225,11413,105032,-22826]}]}

item replace entity @s armor.chest with chainmail_chestplate{display:{Name:'{"text":"Dragonscale Chestplate","italic":false}'},Enchantments:[{id:"minecraft:protection",lvl:5},{id:"minecraft:fire_protection",lvl:3},{id:"minecraft:projectile_protection",lvl:4},{id:"minecraft:infinity",lvl:1},{id:"minecraft:vanishing_curse",lvl:1}],AttributeModifiers:[{AttributeName:"generic.armor",Amount:6,Slot:chest,Name:"generic.armor",UUID:[I;-12225,11613,105032,-23226]}]}

item replace entity @s armor.legs with chainmail_leggings{display:{Name:'{"text":"Dragonscale Leggings","italic":false}'},Enchantments:[{id:"minecraft:protection",lvl:5},{id:"minecraft:fire_protection",lvl:3},{id:"minecraft:projectile_protection",lvl:4},{id:"minecraft:infinity",lvl:1},{id:"minecraft:vanishing_curse",lvl:1}],AttributeModifiers:[{AttributeName:"generic.armor",Amount:6,Slot:legs,Name:"generic.armor",UUID:[I;-12225,11713,105032,-23426]}]}

item replace entity @s armor.feet with chainmail_boots{display:{Name:'{"text":"Dragonscale Boots","italic":false}'},Enchantments:[{id:"minecraft:protection",lvl:5},{id:"minecraft:fire_protection",lvl:3},{id:"minecraft:projectile_protection",lvl:4},{id:"minecraft:infinity",lvl:1},{id:"minecraft:vanishing_curse",lvl:1}],AttributeModifiers:[{AttributeName:"generic.armor",Amount:4,Slot:feet,Name:"generic.armor",UUID:[I;-12225,11913,105032,-23826]}]}

advancement revoke @p only nitref:dragonology/armor
tag @s remove nitUnlocked