scoreboard players set @s AttackTimer 0
data merge block ~ ~ ~ {auto:0b}
data merge entity @s {NoAI:0,NoGravity:0}
tag @s remove MidAttack
kill @e[type=armor_stand,tag=FireLine]
kill @e[type=armor_stand,tag=FireLineMasPart]
kill @e[type=armor_stand,tag=FireLineMas]

#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
item replace entity @s armor.feet with chainmail_boots{Enchantments:[{id:"minecraft:feather_falling",lvl:20s},{id:"minecraft:blast_protection",lvl:20s},{id:"minecraft:projectile_protection",lvl:6s}]} 1
