scoreboard players add @s vb.timer.boss_attack 1

particle dust{color:[0.0,0.51,0.9],scale:2} ~ ~2 ~ 0.2 1.4 0.2 0 70

## 1st tick
execute if score @s vb.timer.boss_attack matches 1 run spreadplayers ~ ~ 0 16 false @s

## 2nd tick
execute if score @s vb.timer.boss_attack matches 2 store result score #VB vb.dummy1 run random value 1..3
execute if score @s vb.timer.boss_attack matches 2 if score #VB vb.dummy1 matches 1 run function vb:summon/sunken {motion:'[0,0.8,0]'}
execute if score @s vb.timer.boss_attack matches 2 if score #VB vb.dummy1 matches 2..3 run summon drowned ~ ~ ~ {Motion:[0,0.8,0]}
execute if score @s vb.timer.boss_attack matches 2 unless score #VB vb.settings.disable_things_that_grief matches 1 run setblock ~ ~-1 ~ water destroy
execute if score @s vb.timer.boss_attack matches 2 run kill @s