Spellward
Spell — see Magic and Spellcasting for the rules and the Spell Index for the full list.
Arcane 3, Divine 3 Type: protection
Range: self Duration: 6 turns
This spell creates a defensive ward around the caster. The spellward has a number of layers equal to caster level. When the caster makes a saving throw against a spell, elemental effect, or spell-like effect, he can expend one or more layers of the spellward to gain a +1d4 bonus per layer to the saving throw. After the saving throw (if any) is resolved, the caster can expend one or more layers of the spellward to reduce the damage by 1d4 points per layer. If the damage is reduced to 0 or less by the spellward, the caster does not suffer an interruption of concentration or other effects that may accrue upon being hit. If a spellwarded caster is subjected to a counterspell or dispel magic spell, he can expend one or more layers from the ward to increase his effective caster level by 1d4 per layer, making it harder to dispel his magic. Spellward expires when all of the layers are expended, or after 6 turns, whichever comes first. If this spell is made permanent through ritual magic, the spellward recharges two layers per turn.