
You fire on it, hit twice, and do 3 damage (2 shots, 3 initial, rolled 1, 3, [2-1]+[2+0]=3)
The boss now has 12/32 health.
The heavy's gun is still recharging so he stands there looking silly.

It fires at you, misses, and the heavy is caught in the blast for 1 damage.