##BASIC
scoreboard players set @a damage_bonus 0

##artifacts
#green
execute if score .sharp_glass artifact matches 1.. as @a run scoreboard players operation .sharp_glass artifact *= .10 number
execute if score .sharp_glass artifact matches 1.. as @a run scoreboard players operation @s damage_bonus += .sharp_glass artifact
execute if score .sharp_glass artifact matches 1.. as @a run scoreboard players operation .sharp_glass artifact /= .10 number

#blue
#id5
execute if score .com-gone_tick artifact matches 1.. as @a run scoreboard players add @s damage_bonus 30

#purple
#id6
execute if score .bunny_leg_tick artifact matches 1.. as @a run scoreboard players operation .bunny_leg_stack_temp artifact = .bunny_leg_stack artifact
execute if score .bunny_leg_tick artifact matches 1.. as @a run scoreboard players operation .bunny_leg_stack_temp artifact *= .20 number
execute if score .bunny_leg_tick artifact matches 1.. as @a run scoreboard players operation @s damage_bonus += .bunny_leg_stack_temp artifact

#golden
#id1
execute as @a if score .broken_sword artifact matches 1.. run scoreboard players add @s damage_bonus 60

#id3
execute if score .golden_shower artifact matches 1.. as @a run scoreboard players operation .golden_shower_temp artifact = @s gold
execute if score .golden_shower artifact matches 1.. as @a run scoreboard players operation .golden_shower_temp artifact /= .50 number
execute if score .golden_shower artifact matches 1.. as @a run scoreboard players operation @s damage_bonus += .golden_shower_temp artifact