# regen
execute as @a[scores={shield_cooldown=..0,out_of_combat=..0}] run function main:settings/stats/shield/regen_1
#reset
execute as @a[scores={shield_cooldown=1..}] run scoreboard players remove @s shield_cooldown 1
# execute as @a[scores={level=0}] run xp set @s 0 levels
execute as @a[scores={out_of_combat=1..}] run scoreboard players remove @s out_of_combat 1
execute as @a[scores={out_of_combat=1..}] at @s run particle infested ~ ~2 ~ 0 0 0 0 0 normal

