function main:mechanics/effects/screenshake/start {duration:5,strength:30}

function main:settings/stats/attack_speed/calculation {"max":5}
scoreboard players operation @s attack_speed = @s attack_speed_max
scoreboard players set @s weapon_combo_reset 15

function main:mechanics/damage/enemy/calculation {"id":id1,"character":archer,"type":"weapon","damage":40,"stat":"attack","local_bonus":0,"indicator":11}

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

scoreboard players set .weapon_animation archer 7
function main:mechanics/animation/start {"frames":236,"start":"60"}

scoreboard players set .rc_charge archer 0