particle explosion ~ ~1 ~ 0 0 0 1 1
playsound entity.dragon_fireball.explode master @a ~ ~ ~ 10 0.9
execute as @a[tag=engineer] run function main:mechanics/damage/enemy/calculation {"id":upgrade_4,"character":engineer,"type":"weapon","damage":75,"stat":"attack","local_bonus":0,"indicator":1}
execute positioned ~-2.5 ~-2.5 ~-2.5 as @e[type=#main:enemies,tag=enemy,dx=4,dy=4,dz=4] run function main:characters/engineer/upgrades/id/4/hit

scoreboard players set .upgrade_4 engineer 0