execute if score .arrow archer matches 1 run function main:characters/archer/q/id1/cooldown {"type":"storm","cooldown":"4"}
execute if entity @s[tag=!upgrade_3] if score .arrow archer matches 2 run function main:characters/archer/q/id1/cooldown {"type":"gale","cooldown":"4"}
execute if entity @s[tag=upgrade_3] if score .arrow archer matches 2 run function main:characters/archer/q/id1/cooldown {"type":"gale","cooldown":"2"}