function main:mechanics/effects/screenshake/start {duration:5,strength:10}
playsound atmos:bow_1 master @a ~ ~ ~ 10 1.1 1
scoreboard players set .rc archer 0
scoreboard players set .rc_charge archer 0
effect clear @s slow_falling

#main damage
function main:mechanics/damage/enemy/calculation {"id":id1_2,"character":archer,"type":"rc","damage":70,"stat":"attack","local_bonus":0,"indicator":1}

execute at @s anchored eyes run function main:mechanics/arrow/start {"type":q,"character":archer,"id":id1,"angle":"~ ~","tag":',"gale_weak"',"pierce":1}

#vfx + sfx
execute at @s run playsound item.trident.riptide_3 master @a ~ ~ ~ 3 0.9
execute at @s run playsound entity.wind_charge.wind_burst master @a ~ ~ ~ 3 0
execute at @s anchored eyes positioned ^ ^ ^1 run function main:particles/circle {"particle":end_rod,"range":0.00000025}

#particle
summon item_display ~ ~ ~ {Tags:["archer_rc_gale","newborn"],item:{id:"minecraft:paper",count:1,components:{"minecraft:item_model":"minecraft:weapons/archer/archer_rc_gale"}}}
execute as @e[type=item_display,tag=archer_rc_gale,tag=newborn] run ride @s mount @n[type=item_display,tag=1_ca_archer_rc_arrow]
execute as @e[type=item_display,tag=archer_rc_gale,tag=newborn] run tag @s remove newborn

scoreboard players set .gale_cooldown_s archer 4