Glyph of warding

Glyph of warding is an abjuration spell that causes an inscription to harm those who pass it.

Effect
This powerful inscription harms those who enter, pass, or open the warded area or object. A glyph can guard a bridge or passage, ward a portal, trap a chest or box, and so on.

Any creature violating the warded area without speaking a pass phrase (which was set on casting the spell) is subject to the magic it stores. Glyphs can be set according to physical characteristics (such as height or weight) or creature type, subtype, or species (such as "drow" or "aberration"). Glyphs can also be set with respect to good, evil, law, or chaos, or to pass those of your religion. Glyphs respond to invisible creatures normally but are not triggered by those who travel past them ethereally. Multiple glyphs cannot be cast on the same area. However, if a cabinet had three drawers, each could be separately warded.

The spell weaves a tracery of faintly glowing lines around the warding sigil. When the spell is completed, the glyph and tracery become nearly invisible.

Glyphs cannot be affected or bypassed by such means as physical or magical probing, though they can be dispelled. Mislead, polymorph, and nondetection can fool a glyph.

Read magic allows the identification of a glyph of warding. Identifying the glyph does not discharge it and allows knowledge of the basic nature of the glyph.

Known versions
Depending on the version selected, a glyph either blasts the intruder or activates a spell.

Blast glyph
A blast deals damage such as acid, cold, fire, electricity, or sonic.

Spell glyph
A spell glyph stores a spell which becomes cast when the glyph is triggered.

Material component
The glyph is traced with incense, which must first be sprinkled with powdered diamond worth at least 200 gold pieces.