execute as @a[scores={jjc_soul_bow=1..,jjc_used_bow=1..}] unless entity @s[scores={jjc_soul_bow=21,jjc_soul=33..}] at @s if items entity @s weapon.* bow[minecraft:custom_data~{colosseum_of_fools:{item:soul_bow}}] anchored eyes positioned ^ ^ ^ as @n[type=#arrows,tag=!jjc_soul_bow_checked,distance=..3] at @s run function colosseum_of_fools:player/item/soul_bow/soul_arrow/0
execute as @a[scores={jjc_soul_bow=21..,jjc_soul=33..,jjc_used_bow=1..}] at @s if items entity @s weapon.* bow[minecraft:custom_data~{colosseum_of_fools:{item:soul_bow}}] anchored eyes positioned ^ ^ ^ as @n[type=#arrows,tag=!jjc_soul_bow_checked,distance=..3,nbt={crit:1b}] at @s run function colosseum_of_fools:player/item/soul_bow/shade_soul/0
scoreboard players remove @a[scores={jjc_soul_bow=21..,jjc_soul=33..,jjc_used_bow=1..},predicate=colosseum_of_fools:survive] jjc_soul 33
scoreboard players reset @a[scores={jjc_soul_bow=1..,jjc_used_bow=1..}] jjc_soul_bow
scoreboard players reset @a[scores={jjc_soul_bow=1..},advancements={colosseum_of_fools:item/soul_bow=false}] jjc_soul_bow
advancement revoke @a only colosseum_of_fools:item/soul_bow
execute if entity @a[scores={jjc_soul_bow=1..}] run schedule function colosseum_of_fools:player/item/soul_bow/1 1t replace
tag @e[type=#arrows,tag=!jjc_soul_bow_checked] add jjc_soul_bow_checked