scoreboard players remove @s generic_timer2 100000

tag @s add collide_temp
execute as @a if score @s real_ID = @n[type=marker,tag=collide_temp] real_ID run tag @s add hurt_temp
execute at @s positioned ~ ~-1 ~ as @e[type=!#pctf:cannot_be_hit,distance=..2] unless score @s ctf_ID = @n[type=marker,tag=collide_temp] ctf_ID run function pctf:logic/items/scrolls/shadow_burst/hurt
tag @s remove collide_temp
function pctf:logic/items/scrolls/remove_hurt_temp
kill @s