$function main:settings/stats/cooldown/calculation {cooldown:$(cooldown),type:q}
$scoreboard players operation .$(type)_cooldown_s archer = @s q_cooldown_s
$scoreboard players operation .$(type)_cooldown_t archer = @s q_cooldown_t