execute as @e[type=zombie,tag=id14_mob] run effect give @s slowness 1 10 true

execute as @e[type=zombie,tag=id14_mob] if score .number dialog < .number_max dialog run tag @s add immune
execute as @e[type=zombie,tag=id14_mob] if score .number dialog >= .number_max dialog run tag @s remove immune
execute if score .number dialog >= .number_max dialog run function main:mechanics/camera/end

scoreboard players set .icicle_cooldown boss 20
scoreboard players set .generator_cooldown boss 20
scoreboard players set .stop boss 10