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 54 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 50 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 45 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 40 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 34 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 29 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 22 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 17 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 8 arrow by @n[tag=ignoredmg]