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_1,"character":archer,"type":"rc","damage":25,"stat":"attack","local_bonus":0,"indicator":1}
function main:mechanics/damage/enemy/calculation {"id":id1,"character":archer,"type":"q","damage":15,"stat":"attack","local_bonus":0,"indicator":2}
execute at @s anchored eyes run function main:mechanics/arrow/start {"type":q,"character":archer,"id":id1,"angle":"~ ~","tag":',"storm_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
function animated_java:archer_weapon/summon with storage aj:temp
execute as @e[type=item_display,tag=aj.archer_weapon.root,tag=newborn] run ride @s mount @n[type=item_display,tag=1_ca_archer_rc_arrow]
execute as @e[type=item_display,tag=aj.archer_weapon.root,tag=newborn] run function animated_java:archer_weapon/animations/fly/play
execute as @e[type=item_display,tag=aj.archer_weapon.root,tag=newborn] run tag @s remove newborn

scoreboard players set .storm_cooldown_s archer 6