6th-level abjuration
Casting Time 1 action
Range Self
Components V S
Duration Conc. Up to 1 minute

You gain resistance to acid, cold, fire, lightning, and thunder damage. You also gain a new way to use your reaction: if you take damage of one of those types, you can choose to gain immunity to it, including against the damaging effect If you use your reaction this way, the other resistances end, but the immunity continues until the end of your next turn. The spell also ends at that time.