Glyph of Warding

Description
You create a small, magical zone that can detect the passage of enemy creatures. When the field is activated, it explodes, dealng 1d8 points of sonic damage per two caster levels to all creatures within the area of effect (to a maximum of 5d8). After being triggered, the glyph dissipates.