execute store result score .choice boss run random value 1..3
playsound block.blastfurnace.fire_crackle master @a ~ ~ ~ 0.5 1

#shoot rockets
execute if score .choice boss matches 1 if score .cooldown_shoot_rockets boss matches ..0 at @s run return run function main:game/mobs/ai/id/id14/shoot_rockets/start

#shoot gun
execute if score .choice boss matches 2 if score .cooldown_shoot_gun boss matches ..0 at @s run return run function main:game/mobs/ai/id/id14/shoot_gun/start

#shoot MORE gun
execute if score .choice boss matches 3 if score .cooldown_shoot_more_gun boss matches ..0 at @s run return run function main:game/mobs/ai/id/id14/shoot_more_gun/start

