When you cast a spell, you gain resistance to all elemental damage until the start of your next turn.