Immunity, Weakness, and Resistance
Immunity
If you have immunity to effects with a certain trait (such as death effects, poison, or disease), you are unaffected by effects with that trait. Often, an effect both has a trait and deals that type of damage (such as an entropy strike spell, which has the void trait and deals void damage). In these cases, the immunity applies to the effect corresponding to the trait, not just the damage. However, some complex effects might have parts that affect you even if you're immune to one of the effect's traits; for instance, a spell that deals both fire and acid damage can still deal acid damage to you even if you're immune to fire.
Immunity to Critical Hits
Immunity to Nonlethal
Temporary Immunity
Weakness
If you have a weakness to something that doesn't normally deal damage, such as water, you take damage equal to the weakness value when touched or affected by it. If more than one weakness would apply to the same instance of damage, use only the highest applicable weakness value. This usually only happens when a creature is weak to both a type of damage and a material or trait, such as a plasma doshko critically hitting a monster that has weakness to fire and electricity.
Resistance
Resistance can specify combinations of damage types or other traits. For instance, you might encounter a monster that's resistant to non-magical bludgeoning damage, meaning it would take less damage from bludgeoning attacks that weren't magical, but would take normal damage from your ghost killer machine gun (since it's magical) or a non-magical machine gun (since it deals piercing damage). A resistance also might have an exception. For example, resistance 10 to physical damage (except aucturnite) would reduce any physical damage by 10 unless that damage was dealt by an aucturnite weapon.
If you have more than one type of resistance that would apply to the same instance of damage, use only the highest applicable resistance value, as described in Weakness.
It's possible to have resistance to all damage. When an effect deals damage of multiple types and you have resistance to all damage, apply the resistance to each type of damage separately. If an attack would deal 7 slashing damage and 4 fire damage, resistance 5 to all damage would reduce the slashing damage to 2 and negate the fire damage entirely.