#shot
function main:game/mobs/ai/projectile/throw {"prediction":"0","position":"^ ^1 ^0.25","rotation":"~ ~","id":id2,"size":"0.5f,0.5f,0.5f","translation":"-0.25f,-0.25f,-0.25f","texture":"minecraft:mossy_cobblestone","particle":"block{block_state:stone}"}

#cd
execute store result score @s enemy_ability_cooldown_1 run random value 80..120

#sfx
playsound entity.arrow.shoot master @a ~ ~ ~ 2 0
playsound block.gravel.break master @a ~ ~ ~ 2 1
playsound block.stone.break master @a ~ ~ ~ 3 0

function main:game/mobs/ai/movement/move {"tag":"id2_mob","height":0,"speed":-1.5,"score":""}