execute if score @s EB_next_attack matches -25 run effect give @s slowness 3 255 true

execute if score @s EB_next_attack matches -25 run function attacks:spit_lock/summon
execute if score @s EB_next_attack matches -45 run function attacks:spit_lock/summon
execute if score @s EB_next_attack matches -65 run function attacks:spit_lock/summon

execute if score @s EB_next_attack matches -65 run tag @s remove attacking
execute if score @s EB_next_attack matches -65 run tag @s remove spit_lock
