Magic Resistance (spell)

This spell grants target creature 2% magic resistance per caster level up to 40% at 20th level. Value of magic resistance is set so if target has higher spell resistance than one he receives with spell his magic resistance is actually lowered. Successful Dispel Magic ends this spell.