execute as @e[type=arrow,tag=jjc_pillager_shotgun_j] at @s run particle smoke
scoreboard players add @e[type=arrow,tag=jjc_pillager_shotgun_j] jjc_303 1
execute as @e[type=arrow,tag=jjc_pillager_shotgun_j,nbt={inGround:1b}] at @s positioned ~ ~0.5 ~ run kill @n[distance=..200,type=marker,tag=jjc_pillager_shotgun_j_m]
execute as @e[type=arrow,tag=jjc_pillager_shotgun_j,scores={jjc_303=5..}] at @s positioned ~ ~0.5 ~ run kill @n[distance=..200,type=marker,tag=jjc_pillager_shotgun_j_m]
kill @e[type=arrow,tag=jjc_pillager_shotgun_j,scores={jjc_303=5..}]
kill @e[type=arrow,nbt={inGround:0b},predicate=colosseum_of_fools:ss/shotgun,tag=jjc_pillager_shotgun_j]
execute as @e[type=marker,tag=jjc_pillager_shotgun_j_m,predicate=colosseum_of_fools:nov] at @s positioned ~ ~-0.5 ~ as @n[nbt=!{HurtTime:0s},nbt={attributes:[{}]},distance=..5] at @s run function colosseum_of_fools:ss/pillager/shotgun/1d
kill @e[type=marker,tag=jjc_pillager_shotgun_j_m,predicate=colosseum_of_fools:nov]
execute if entity @e[type=arrow,tag=jjc_pillager_shotgun_j] run schedule function colosseum_of_fools:ss/pillager/shotgun/j 1t replace