damage @s 0 mob_attack by @n[type=villager,tag=engineer_q]

execute at @s positioned ~-1.5 ~-1.5 ~-1.5 as @e[type=#main:enemies,tag=enemy,dx=2,dy=2,dz=2] run function main:mechanics/damage/enemy/deal_damage with storage minecraft:q_damage engineer.id1

particle lava ~ ~ ~ 0 0 0 0 0 force
playsound block.fire.extinguish master @a ~ ~ ~ 10 1
playsound item.firecharge.use master @a ~ ~ ~ 10 1