Abjuration [earth]
Level Magic-user 4
Components V, S, M
Casting Time 1 segment
Range Self
Area of Effect The caster
Duration Permanent until discharged
Save nil
This spell makes the caster immune to damage from the next physical attack (or attack routine), that would hit and otherwise do damage. The spell is then discharged.
The spell only affects the NEXT/FIRST SUCCESSFUL ATTACK against the caster—The spell is only discharged by physical attacks that successfully strike the caster.
If attacked by multiple foes simultaneously, the spell affects only attacks that successfully hit and, if multiple foes strike simultaneously, one is selected at random (use weapon speed, Dexterity, or other indicators to determine the attacks affected ahead of random selection).
If the opponent has multiple attacks within the same attack routine (e.g. claw/claw/bite), all (that successfully strike) are rendered ineffective by the spell.
Spells or abilities not delivered via an attack roll or touch are unaffected by the spell and do not count as an "attack" with regards to discharging the spell. For example, gaze attacks, breath weapons affecting an area, and area of effect spells.
Any effect delivered through a successful attack, will also be rendered ineffective against the caster. However, the effect will be discharged as if used. For example, a shocking grasp spell, bestow curse spell, a poisonous bite, an ooze's acid, or even energy drain attack by an undead will all fail if successfully striking the caster protected by this spell. For effects that discharge (such as the spells in the example), they will be discharged (to no effect) upon a successful contact attack.
Natural attacks made using bludgeoning or blunt weapons (fists, hands, "open hand" attacks, etc.) meant to cause damage will not discharge the spell and the opponent using such weapons will take 1d2 damage for each successful strike against the caster protected by the spell.
Entangling weapons or grabbing attacks that require an attack roll will fail even if they do no damage other than entanglement (e.g. nets or a giant spider's thrown web).
Material Components. The material components of the spell are granite and 100 g.p. worth of diamond dust sprinkled on the recipient’s skin. The components are consumed in the casting of the spell. Cost/Scarcity. 100 g.p./Rare.
Known Additions/Substitutions. Using dust from a diamond heart of a destroyed earth elemental of at least 16 HD (one per elemental) will cause the spell to affect the next two attack routines.