scoreboard players set @s q_duration_t 10

execute at @s positioned ~-3 ~-3 ~-3 as @e[type=#main:enemies,tag=enemy,dx=5,dz=5,dy=5] run function main:mechanics/damage/enemy/deal_damage with storage minecraft:q_damage archer.id1

playsound block.azalea_leaves.break master @a ~ ~ ~ 3 1
playsound item.trident.riptide_3 master @a ~ ~ ~ 3 0.5