An ethereal barrier of spikes, made of magical Force, interposes itself between you and an attacker. Until your next turn, when you are hit by a melee Attack, the barrier reduces the damage you are dealt by 2d4, and deals the same amount of Piercing damage to the attacker. The shield is ineffective against ranged attackers, but still provides a +2 bonus to AC (treat as Half cover) against them for the duration.
Upcasting. Increase the spell's effect by an additional 1d4 for each spell level above 1st.