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