#shot
execute at @s[scores={enemy_ability_cooldown_1=..0,enemy_attack_1=..9,stun=..0}] run function main:game/mobs/ai/id/id28/summon

#if stun
execute if entity @s[scores={stun=1..}] store result score @s enemy_ability_cooldown_1 run random value 80..120