On average:
Weaknesses give a 30% damage boost to a weapon of the specific damage type
Resistances give an 80% damage penalty to a weapon of the specific damage type
…
Old Silversix vs Constructs: piercing part suffers 80% damage reduction, elemental part gains 30% damage bonus
Old Blackhawk vs Slimes: piercing part suffers 80% damage reduction, shadow part gains 30% damage bonus