execute as @e[type=interaction,tag=sniper_q_interaction] run function main:characters/sniper/q/id1/tick_1

execute if score @s q_cooldown_s matches 1 if score @s q_cooldown_t matches 19.. run scoreboard players add .q_stacks sniper 1

execute if score .q_stacks sniper matches ..2 if score @s q_cooldown_s matches ..0 run function main:characters/sniper/q/id1/stack