#shot
execute as @s[scores={enemy_ability_cooldown_1=..0,stun=..0}] at @s run function main:game/mobs/ai/id/id26/shoot

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