$execute if score .item_type_id const matches 1 run data modify entity @s Item.components.minecraft:attribute_modifiers[{id:"$(id)"}].display set value {type:"override",value:[{"color":"dark_green","italic":false,"text":" $(display_value) Attack Damage "},{"color":"blue","italic":false,"text":"[+$(og_value)]"}]}
$execute if score .item_type_id const matches 2 run data modify entity @s Item.components.minecraft:attribute_modifiers[{id:"$(id)"}].display set value {type:"override",value:[{"color":"dark_green","italic":false,"text":" $(og_value) Arrow Power "}]}
#$execute if score .itemtype id matches 3..6 run data modify entity @s Item.components.minecraft:attribute_modifiers[{id:"$(id)"}].display set value {type:"override",value:[{"color":"blue","italic":false,"text":"+$(og_value) Attack Damage"}]}