#execute at @s[nbt=!{Item:{tag:{kyuxptrinket:1b}}}] run execute if entity @e[nbt={Item:{tag:{kyuxptrinket:1b}}},limit=1,distance=..5] run execute at @s run execute at @e[name=CadeyrnCrafting,sort=nearest,limit=1] run tellraw @a[distance=..4] ["",{"text":"Your trinket holder now has the 'Pure Unrefined Knowledge ' effect!","color":"#8B59FF","italic":true}]


scoreboard players set @s KyuDummy 0
execute as @s[nbt={Item:{tag:{bloodbolt:1b}}}] run execute at @s run execute at @e[limit=4,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:chain",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s[nbt={Item:{tag:{bloodbolt:1b}}}] run execute at @s run execute at @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:end_rod",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s[nbt={Item:{tag:{bloodbolt:1b}}}] run execute at @s run execute at @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:redstone_block",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s[nbt={Item:{tag:{bloodbolt:1b}}}] run execute at @s run execute at @e[limit=2,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:netherite_ingot",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute if entity @e[type=armor_stand,name=DayQ,tag=CadeyrnDefeated] run execute as @s run execute at @s[scores={KyuDummy=8..}] run function zzzzdonotuse:modifyarmor/weapons/makesuperbloodbolt

scoreboard players set @s KyuDummy 0
execute as @s run execute at @s run execute at @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:tripwire_hook",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=4,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:bamboo",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=3,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:diamond",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s[scores={KyuDummy=8..}] run function zzzzdonotuse:modifyarmor/weapons/makepiercingdamage
