For the duration, you sense the presence of magic within 30 feet of you. If you sense magic in this way, you can use your action to see a faint aura around any visible creature or object in the area that bears magic, and you learn its school of magic, if any.
The spell can penetrate most barriers, but is blocked by 1 foot of stone, 1 inch of common metal, a thin sheet of lead, or 3 feet of wood or dirt
You manipulate some of the incoming elemental energy, harnessing its power in your hand.
The damage you take from the triggering damage type is cut in half and you hurl the energy back at a nearby creature. The creature must make a Dexterity saving throw. It takes 1d8 damage of the triggering type on a failed save, or half as much damage on a successful one.