Sudden Resistance
When you take damage from a significant enemy, you can spend 1 Resolve Point as a reaction to temporarily gain resistance—equal to your remaining Resolve Points—to the type of damage you were dealt, whether that damage was a type of kinetic (bludgeoning, piercing, or slashing) or energy (acid, cold, electricity, fire, or sonic) damage. If you were dealt energy damage, this is energy resistance against that energy type. If you were dealt more than one damage type, select one of those damage types to gain resistance to. In either case, this effect lasts for 3 rounds and doesn’t apply against the damage that triggered the use of this ability.
Source
Starfinder Enhanced pg. 186