Wall of Fire
Evocation [Fire]
Level: Mage 4; Components: V, S, M; Casting Time; Attack action Range: Medium (100 ft. + 10 ft./level); Effect: Opaque sheet of flame up to 20 ft. long/caster level or a ring of fire with a radius of up to 5 ft./two caster levels; either form 20 ft. high; Duration: Concentration + 1 round/level; Saving Throw: See text; Spell Resistance: Yes
An immobile curtain of fire springs into existence. One side of the wall, selected by the caster, sends forth waves of heat, dealing 2d4 points of fire damage to creatures within 10 feet and 1d4 points of fire damage to those past 10 feet but within 20 feet. The wall deals this damage when it appears and each round that a creature enters or remains in the area. In addition, the wall deals 2d6 points of fire damage +1 point of fire damage per caster level to any creature passing through it. The wall deals double damage to undead creatures.
If the caster evokes the wall so that it appears where creatures are, each creature takes damage as if passing through the wall. Each such creature can avoid the wall by making a successful Reflex save. (If the creature ends up on the hot side of the wall, it takes 2d4 points of damage, as normal.)
If any 5-foot length of wall takes 20 points of cold damage or more in 1 round, that length goes out. (Do not divide cold damage by 4, as normal for objects.)