scoreboard players set .stop boss 5

function animated_java:penguineer/animations/pause_all
function animated_java:penguineer/animations/shoot_more_gun_start/tween {to_frame:0,duration:5}

execute if score .difficulty_level progression matches 0..2 store result score .shoot_more_gun_duration boss run random value 40..60
execute if score .difficulty_level progression matches 3.. store result score .shoot_more_gun_duration boss run random value 60..100
function main:game/mobs/ai/id/boss/cooldown {"base":"650","attack":"cooldown_shoot_more_gun","boss":"penguineer"}
tag @s remove idle