function main:mechanics/effects/lines/start {"duration":5}
scoreboard players set @s attack_speed 100

scoreboard players set @s invisibility 1
scoreboard players set .shift archer 0
scoreboard players set .rc_hold_animation archer 0
scoreboard players set .rc_release_animation archer 5
tag @s remove archer_rc
function main:mechanics/animation/start {"frames":236,"start":"40"}

execute if score .rc_charge archer matches 9..12 run function main:mechanics/combo/actions/characters/archer/perfect_shot

execute if score .rc_charge archer matches ..8 run return run function main:characters/archer/weapon/id1/1

execute if score .rc_charge archer matches 9..12 run function main:characters/archer/rc/id1/perfect/start

execute if score .rc_charge archer matches 13.. run function main:characters/archer/rc/id1/regular/start

execute if entity @s[tag=archer_arrow_reset] run scoreboard players set .arrow_animation_type archer 0
execute if entity @s[tag=archer_arrow_reset] run scoreboard players set .arrow archer 0