| Pizza Lord |
You calculate the total damage it would take, then reduce the damage with resistance.
A creature with fire resistance 10 caught in a fireball that deals 20 fire damage would take 10 fire damage. Its partner next to it that has fire resistance 10 and fire vulnerability would take 30 fire damage reduced by 10 to 20 fire damage.