execute rotated ~ 0 positioned ^-2^^5 run damage @e[r=2,type=!item] 22
execute rotated ~ 0 positioned ^-1^^5 run damage @e[r=2,type=!item] 22
execute rotated ~ 0 positioned ^^^5 run damage @e[r=2,type=!item] 22
execute rotated ~ 0 positioned ^1^^5 run damage @e[r=2,type=!item] 22
execute rotated ~ 0 positioned ^2^^5 run damage @e[r=2,type=!item] 22