scoreboard players set @s AttackTimer 0
data merge block ~ ~ ~ {auto:0b}
#kill @e[tag=CadeyrnMinion,type=vex]
tag @s remove MidAttack
tag @s remove IGotLaunched
tag @s remove FakeCadeyrn
kill @e[type=armor_stand,tag=SoulSplitPortal]
execute as @s run data merge entity @s {NoGravity:0,NoAI:0,CustomNameVisible:1b}
#reset pot
#execute at @e[name=DayQ,type=armor_stand] run data merge block 999991 137 999988 {auto:1b}

execute at @s run execute if entity @a[distance=..9,tag=CadeyrnFightTag,gamemode=!spectator] run execute as @s run function zzzzdonotuse:cadeyrn/resetaggro
