tag @s add smithed.damage.applied_damage

execute if score @s smithed.damage matches 1024.. run function smithed.damage:v0.1.0/entity/attributes/1024
execute if score @s smithed.damage matches 512.. run function smithed.damage:v0.1.0/entity/attributes/512
execute if score @s smithed.damage matches 256.. run function smithed.damage:v0.1.0/entity/attributes/256
execute if score @s smithed.damage matches 128.. run function smithed.damage:v0.1.0/entity/attributes/128
execute if score @s smithed.damage matches 64.. run function smithed.damage:v0.1.0/entity/attributes/64
execute if score @s smithed.damage matches 32.. run function smithed.damage:v0.1.0/entity/attributes/32
execute if score @s smithed.damage matches 16.. run function smithed.damage:v0.1.0/entity/attributes/16
execute if score @s smithed.damage matches 8.. run function smithed.damage:v0.1.0/entity/attributes/8
execute if score @s smithed.damage matches 4.. run function smithed.damage:v0.1.0/entity/attributes/4
execute if score @s smithed.damage matches 2.. run function smithed.damage:v0.1.0/entity/attributes/2
execute if score @s smithed.damage matches 1.. run function smithed.damage:v0.1.0/entity/attributes/1
