scoreboard players set @s AttackTimer 0
data merge block ~ ~ ~ {auto:0b}
#kill @e[tag=CadeyrnMinion,type=vex]
tag @s remove MidAttack
execute unless entity @e[type=minecraft:wither_skeleton,name="Ahearn the Indolent",tag=!NoKillAhearn] run execute at @s run tellraw @a[distance=..150] ["",{"text":"[","color":"dark_blue"},{"text":"Cadeyrn the Wretched","color":"gold"},{"text":"] ","color":"dark_blue"},{"text":"Useless.","color":"dark_red","italic":"true"}]
execute if entity @e[type=minecraft:wither_skeleton,name="Ahearn the Indolent",tag=!NoKillAhearn] run kill @e[type=minecraft:wither_skeleton,name="Ahearn the Indolent",tag=!NoKillAhearn]
kill @e[type=armor_stand,tag=IndolentParticle]
kill @e[type=armor_stand,tag=IndolentStandSum]

#reset pot
#execute at @e[name=DayQ,type=armor_stand] run data merge block 999996 120 999969 {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
