execute at @s run playsound minecraft:entity.player.levelup player @s ~ ~ ~ 0.5 0.9
tellraw @s {"translate":"unishop.item.boxing_glove.levelup","color":"dark_green"}
scoreboard players add @s stat.boxing_glove 1
execute store result storage ws:temp stats.amount float 0.25 run scoreboard players get @s stat.boxing_glove
data modify storage ws:temp stats.attribute_type set value 'generic.attack_knockback'
data modify storage ws:temp stats.operation set value 'add_value'
function ws:misc/stats/update with storage ws:temp stats
execute store result storage ws:temp stats.amount float -0.05 run scoreboard players get @s stat.boxing_glove
data modify storage ws:temp stats.attribute_type set value 'generic.attack_damage'
data modify storage ws:temp stats.operation set value 'add_multiplied_total'
data modify storage ws:temp stats.statboost set value 'boxing_glove'
function ws:misc/stats/updatetag with storage ws:temp stats