effect give @s resistance 100000 1 false
effect give @s slowness 100000 255 false

# 2-5
scoreboard players set max rng 100
scoreboard players set min rng 40
function rng:interval
scoreboard players operation @s EB_next_attack = out rng

tag @s add hidden
tag @s add can_attack
