execute at @p[tag=hps] run particle minecraft:poof ~ ~ ~ 7 7 7 0 100 normal
execute at @p[tag=hps] run data merge entity @e[tag=!hpsa,limit=1,sort=nearest,tag=!h,distance=..15,tag=!hps] {TicksFrozen:300}
execute as @e[tag=h] run function template:horus/animations/spread_ice/play
execute as @p[tag=hps] at @s anchored feet at @e[tag=!hpsa,type=!#minecraft:arrows,tag=!h,limit=3,tag=!hpsa,sort=nearest,distance=..7,tag=!hps] run summon minecraft:armor_stand ~ ~2 ~ {Invisible:1b,CustomName:'freezer',CustomNameVisible:0b}
schedule function template:kill_armor_stands 5t
execute at @e[name=freezer] run fill ~ ~ ~ ~ ~ ~ ice replace
schedule function template:horus/settle 5t
schedule function template:horus/ice_freeze_chance 5t