playsound entity.wither.shoot player @a ~ ~ ~ 2 1
playsound entity.wither.hurt player @a ~ ~ ~ 2 1
summon item_display ~ ~ ~ {Tags:["jjc_shade_soul"],teleport_duration:1,interpolation_duration:1,item:{id:"minecraft:player_head",count:1,components:{"minecraft:profile":{properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzRmMzI4ZjUwNDQxMjliNWQxZjk2YWZmZDFiOGMwNWJjZGU2YmQ4ZTc1NmFmZjVjNTAyMDU4NWVlZjhhM2RhZiJ9fX0="}]}}},transformation:{right_rotation:[0f,1f,0f,0f],left_rotation:[0f,0f,0f,1f],translation:[0f,0.5f,0f],scale:[2f,2f,2f]},brightness:{block:15,sky:15}}
data modify entity @n[type=item_display,tag=jjc_shade_soul] Rotation set from entity @p[scores={jjc_soul_bow=1..,jjc_used_bow=1..}] Rotation
execute unless items entity @p[scores={jjc_soul_bow=1..,jjc_used_bow=1..}] weapon.mainhand bow[minecraft:custom_data~{colosseum_of_fools:{item:soul_bow}}] if items entity @p[scores={jjc_soul_bow=1..,jjc_used_bow=1..}] weapon.offhand bow[minecraft:custom_data~{colosseum_of_fools:{item:soul_bow}}] run data modify entity @n[type=item_display,tag=jjc_shade_soul] item.components."minecraft:custom_data".data.damage set from entity @p[scores={jjc_soul_bow=1..,jjc_used_bow=1..}] Inventory[{Slot:-106b}].components."minecraft:enchantments".levels."minecraft:power"
execute if items entity @p[scores={jjc_soul_bow=1..,jjc_used_bow=1..}] weapon.mainhand bow[minecraft:custom_data~{colosseum_of_fools:{item:soul_bow}}] run data modify entity @n[type=item_display,tag=jjc_shade_soul] item.components."minecraft:custom_data".data.damage set from entity @p[scores={jjc_soul_bow=1..,jjc_used_bow=1..}] SelectedItem.components."minecraft:enchantments".levels."minecraft:power"
data modify entity @n[type=item_display,tag=jjc_shade_soul] item.components."minecraft:custom_data".data.UUID set from entity @p[scores={jjc_soul_bow=1..,jjc_used_bow=1..}] UUID
execute on passengers run kill @s
kill @s
schedule function colosseum_of_fools:player/item/soul_bow/shade_soul/1 1t replace