particle explosion ~ ~0.5 ~ 0 0 0 1 1 force
playsound entity.generic.explode master @a ~ ~ ~ 10 1 1
scoreboard players set .size particle_animation 6
execute rotated 0 0 run function main:circle_regular {"particle":"dust{color:[0,1,0],scale:1}"}

execute as @a[tag=!upgrade_7] run function main:mechanics/damage/enemy/calculation {"id":id1,"character":sniper,"type":"shift","damage":80,"stat":"attack","local_bonus":0,"indicator":3}
execute as @a[tag=upgrade_7] run function main:mechanics/damage/enemy/calculation {"id":id1,"character":sniper,"type":"shift","damage":120,"stat":"attack","local_bonus":0,"indicator":3}

execute positioned ~-3 ~-3 ~-3 as @e[type=#main:enemies,tag=enemy,dx=5,dz=5,dy=5] run function main:characters/sniper/shift/id1/bomb/damage