scoreboard players set duration n_effects 10
execute if score @s lightning_hammer matches ..0 as @e[tag=hitted] run function effects:electric_charge/give
execute if score @s lightning_hammer matches ..0 run scoreboard players set @s lightning_hammer 100
