# scoreboard players set @a impact_frames 10
scoreboard players set .shift_hit gunner 1
execute at @s positioned ~-2.5 ~-2.5 ~-2.5 as @a[dx=4,dy=4,dz=4] run function main:mechanics/movement/direction {"vertical":"~ -90","power":10000,"angle":"-60"}
execute at @s positioned ~-3 ~-3 ~-3 as @e[type=#main:enemies,tag=enemy,dx=5,dy=5,dz=5] run function main:mechanics/damage/enemy/deal_damage with storage minecraft:shift_damage gunner.id1
execute if entity @a[tag=upgrade_9] at @s positioned ~-3 ~-3 ~-3 as @e[type=#main:enemies,tag=enemy,dx=5,dy=5,dz=5] run function main:characters/gunner/upgrades/id/9/activation

particle flash ~ ~ ~ 0 0 0 0 0 force
# particle explosion ~ ~ ~ 0 0 0 0 0 force
particle lava ~ ~ ~ 0 0 0 0 10 force
playsound minecraft:entity.firework_rocket.blast master @a ~ ~ ~ 10 1.5 1
playsound entity.ender_dragon.shoot master @a ~ ~ ~ 10 1 1
playsound atmos:explosion_1 master @a ~ ~ ~ 10 1 1