Larian might have changed things, we don't know yet, but in tabletop, they have resistance, not immunity.

In 5e, there is only resistance, not x% resistance. Being resistant to a damage type always means taking half damage (so 50% resistance)

You can not hit yourself with your own breath weapon, so you don't have to worry about hurting yourself because you are not immune to the damage type