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