tellraw @s {"rawtext":[{"text":"[ Voice of Kindness ] §e(Blessing) Your attacks inflict regeneration to yourself and anyone in your same team(if you have any) with its duration depending on how much damage you can deal. §4All your damage resistance except magic has +0.2"}]}

event entity @s soul_trait:kindness
tag @s add soul:kindness
tag @s add trait:blessing
scoreboard players add @s slashRes 2
scoreboard players add @s bluntRes 2
scoreboard players add @s pierceRes 2
scoreboard players add @s projRes 2

tag @s add hastrait