tag @s add st_caster
effect give @s slowness 1 255

summon marker ~ ~-1.2 ~ {Tags:["st_center","st","unspellable","init","attack","EB","nonlocking"]}

summon armor_stand ~1.5 ~-1.2 ~ {Invisible:1b,Small:1b,Marker:true,Tags:["st_stone","1","st","unspellable","init","attack","EB","nonlocking"],ArmorItems:[{},{},{},{id:"cobblestone",Count:1b}]}
summon armor_stand ~ ~-1.2 ~1.5 {Invisible:1b,Small:1b,Marker:true,Tags:["st_stone","2","st","unspellable","init","attack","EB","nonlocking"],ArmorItems:[{},{},{},{id:"cobblestone",Count:1b}]}
summon armor_stand ~-1.5 ~-1.2 ~ {Invisible:1b,Small:1b,Marker:true,Tags:["st_stone","3","st","unspellable","init","attack","EB","nonlocking"],ArmorItems:[{},{},{},{id:"cobblestone",Count:1b}]}
summon armor_stand ~ ~-1.2 ~-1.5 {Invisible:1b,Small:1b,Marker:true,Tags:["st_stone","4","st","unspellable","init","attack","EB","nonlocking"],ArmorItems:[{},{},{},{id:"cobblestone",Count:1b}]}

summon marker ~ ~-1.2 ~ {Tags:["st_point","st","1","unspellable","init","attack","EB"]}
summon marker ~ ~-1.2 ~ {Tags:["st_point","st","2","unspellable","init","attack","EB"]}
summon marker ~ ~-1.2 ~ {Tags:["st_point","st","3","unspellable","init","attack","EB"]}
summon marker ~ ~-1.2 ~ {Tags:["st_point","st","4","unspellable","init","attack","EB"]}


# join_link
execute unless predicate olink:ch1/in_link run function olink:ch1/new_link
scoreboard players operation @e[tag=st,tag=init,limit=9] ch1_olink = @s ch1_olink

scoreboard players set @e[tag=st_center,tag=init,sort=nearest,limit=1] countdown 10

tag @e[tag=st,tag=init] remove init
