# Next Attack
execute if entity @s[scores={EB_next_attack=..0},tag=!attacking] run function bosses:mega_slime/attk/next
execute if entity @s[tag=attacking,tag=!attk_choosen] run function bosses:mega_slime/attk/choose

# Custom attakc particles
execute if entity @s[tag=attacking] run particle angry_villager ~ ~4.5 ~ 1.5 0.25 1.5 .1 2 force

# Attacks
execute if entity @s[tag=slime_bounce,tag=jumping] if predicate entity/on_ground run function bosses:mega_slime/slime_bounce
execute if entity @s[tag=slime_bounce,tag=!jumping] run function bosses:mega_slime/jump
execute if entity @s[tag=split] run function bosses:mega_slime/split/main
execute if entity @s[tag=merge] run function bosses:mega_slime/merge/main
