execute at @s run tp @s ^ ^ ^.26
execute at @s run tp @e[type=pufferfish,tag=ChargePuffer,tag=CadPuffer,limit=1,sort=nearest,tag=!GotTPTag] ~ ~ ~ ~ ~
execute at @s[tag=BluePart] run function zzzzdonotuse:cadeyrn/attacks/chargeslash/blueparticles
execute at @s[tag=RedPart] run function zzzzdonotuse:cadeyrn/attacks/chargeslash/redparticles
execute at @s run execute if block ^ ^ ^ bedrock run kill @s
execute at @s run execute if block ^ ^ ^ lava run kill @s
execute at @s run execute unless block ^ ^ ^ air run tag @s add DoBreak
#execute at @s run execute if entity @p[distance=..1] run tag @s add DoBreak

#not actually hit player anymore but w/e
execute as @s[tag=ChargeProj,tag=DoBreak] run function zzzzdonotuse:cadeyrn/attacks/chargeslash/hitplayer

#execute as @a[tag=CadeyrnFightTag,scores={KyuShieldBlock=1..}] run advancement grant @s only minecraft:suhc/deflectfishfail
execute as @a[tag=CadeyrnFightTag,scores={KyuShieldBlock=1..}] run function zzzzdonotuse:cadeyrn/checkshieldblock
