execute if entity @e[tag=shotgunbullet,distance=0..1] as @e[dx=0,tag=!ignoredmg,type=!#survivalplus:notalive] positioned ~-0.99 ~-0.99 ~-0.99 if entity @s[dx=0] run damage @s 56 arrow by @n[tag=ignoredmg]
execute if entity @e[tag=shotgunbullet,distance=1..2] as @e[dx=0,tag=!ignoredmg,type=!#survivalplus:notalive] positioned ~-0.99 ~-0.99 ~-0.99 if entity @s[dx=0] run damage @s 52 arrow by @n[tag=ignoredmg]
execute if entity @e[tag=shotgunbullet,distance=2..3] as @e[dx=0,tag=!ignoredmg,type=!#survivalplus:notalive] positioned ~-0.99 ~-0.99 ~-0.99 if entity @s[dx=0] run damage @s 47 arrow by @n[tag=ignoredmg]
execute if entity @e[tag=shotgunbullet,distance=3..4] as @e[dx=0,tag=!ignoredmg,type=!#survivalplus:notalive] positioned ~-0.99 ~-0.99 ~-0.99 if entity @s[dx=0] run damage @s 43 arrow by @n[tag=ignoredmg]
execute if entity @e[tag=shotgunbullet,distance=4..5] as @e[dx=0,tag=!ignoredmg,type=!#survivalplus:notalive] positioned ~-0.99 ~-0.99 ~-0.99 if entity @s[dx=0] run damage @s 38 arrow by @n[tag=ignoredmg]
execute if entity @e[tag=shotgunbullet,distance=5..6] as @e[dx=0,tag=!ignoredmg,type=!#survivalplus:notalive] positioned ~-0.99 ~-0.99 ~-0.99 if entity @s[dx=0] run damage @s 32 arrow by @n[tag=ignoredmg]
execute if entity @e[tag=shotgunbullet,distance=6..7] as @e[dx=0,tag=!ignoredmg,type=!#survivalplus:notalive] positioned ~-0.99 ~-0.99 ~-0.99 if entity @s[dx=0] run damage @s 27 arrow by @n[tag=ignoredmg]
execute if entity @e[tag=shotgunbullet,distance=7..8] as @e[dx=0,tag=!ignoredmg,type=!#survivalplus:notalive] positioned ~-0.99 ~-0.99 ~-0.99 if entity @s[dx=0] run damage @s 19 arrow by @n[tag=ignoredmg]
execute if entity @e[tag=shotgunbullet,distance=8..9] as @e[dx=0,tag=!ignoredmg,type=!#survivalplus:notalive] positioned ~-0.99 ~-0.99 ~-0.99 if entity @s[dx=0] run damage @s 9 arrow by @n[tag=ignoredmg]