playsound entity.armor_stand.break block @a[distance=..20] ~ ~ ~ 1 1.5
playsound minecraft:entity.villager.work_librarian block @a[distance=..20] ~ ~ ~ 1 1.25

particle block oak_planks ~ ~ ~ .2 .2 .2 2 5 force @a[distance=..32]
particle effect ~ ~ ~ .2 .2 .2 1 3 force @a[distance=..32]
kill @e[type=marker,tag=illusioner_book_follow,sort=nearest,limit=1]
execute positioned ~ ~1 ~ as @p[gamemode=!creative,gamemode=!spectator,distance=..1.25] if entity @s[advancements={1_splatus:ultris/technical/used_shield=false}] at @s run damage @s 5 1_splatus:ultris/melee by @e[sort=nearest,limit=1,type=illusioner,tag=ultris_illusioner]

execute positioned ~ ~1 ~ as @p[gamemode=!creative,gamemode=!spectator,distance=..1.25] if entity @s[advancements={1_splatus:ultris/technical/used_shield=true}] at @s run function 1_splatus:ultris/other/misc/damage_shield

kill @s
