scoreboard players add @s AttackTimer 1

effect clear @a[tag=CadeyrnFightTag] poison
execute at @s[scores={AttackTimer=1}] run function zzzzdonotuse:cadeyrn/attacks/chargeslash/chargeattackstart

execute at @s[scores={AttackTimer=1..85}] run function zzzzdonotuse:cadeyrn/attacks/chargeslash/dochargeparticle

execute as @s[scores={AttackTimer=85..180}] run function zzzzdonotuse:cadeyrn/attacks/chargeslash/chargingup

execute as @e[type=armor_stand,tag=ChargeProj] run function zzzzdonotuse:cadeyrn/attacks/chargeslash/chargeprojectile
execute as @e[type=armor_stand,tag=ChargeProj,limit=1] run tag @e[type=pufferfish,tag=CadPuffer,tag=GotTPTag] remove GotTPTag


execute as @s[scores={AttackTimer=145..180}] run function zzzzdonotuse:cadeyrn/attacks/chargeslash/dochargeparticlered

execute as @s[scores={AttackTimer=210}] run function zzzzdonotuse:cadeyrn/attacks/chargeslash/reset


#execute as @e[tag=ChargeProj] run execute at @s run tp @s ^ ^ ^.26