When you take damage from non-magical attacks, you gains resistance on the same type of damage. At the end of your next turn you lose the resistance and take 1d6 damage, which can't be reduced in any way.
This spell's damage increases by 1d6 when you reach 5th level (2d6), 11th level (3d6), and 17th level (4d6).