execute if score @s EB_next_attack matches -20 run effect give @s slowness 2 255 true

execute if score @s EB_next_attack matches -20 at @s run function attacks:spit_cobweb/summon
execute if score @s EB_next_attack matches -50 at @s run function attacks:spit_cobweb/summon

execute if score @s EB_next_attack matches -50 run tag @s remove attacking
execute if score @s EB_next_attack matches -50 run tag @s remove spit_cobweb
