particle crit ~ ~ ~ 0 0 0 0 1 force

# Move
tag @e[type=!#mrcd:ignore] add mrcd_target
tag @e[type=player] add mrcd_target
function mrcd:ray_tick
tag @e[tag=mrcd_target] remove mrcd_target

# Gavity for the arch trajectory
scoreboard players remove @s mrcd_y0 2

execute as @e[tag=mrcd_target_entity,limit=1] run function attacks:bullet/damage

kill @s[tag=mrcd_touch_edge]
kill @s[tag=mrcd_touch_entity]
