Pathfinder
Compendium
Type to search for a spell, item, class — anything!
Forcecage
This spell creates an immobile, invisible cubical prison composed of either bars of force or solid walls of force (your choice).
Creatures within the area are caught and contained unless they are too big to fit inside, in which case the spell automatically fails. Teleportation and other forms of astral travel provide a means of escape, but the force walls or bars extend into the Ethereal Plane, blocking ethereal travel.
Like a Wall of Force, a Forcecage resists Dispel Magic, although a Mage's Disjunction still functions. The walls of a Forcecage can be damaged by spells as normal, except for Disintegrate, which automatically destroys it. The walls of a Forcecage can be damaged by Weapons and Supernatural Abilities, but they have a Hardness of 30 and a number of Hit Points equal to 20 per Caster Level. Contact with a sphere of annihilation or rod of cancellation instantly destroys a Forcecage.
Barred Cage: This version of the spell produces a 20-foot cube made of bands of force (similar to a Wall of Force spell) for bars. The bands are a half-inch wide, with half-inch gaps between them. Any Creature capable of passing through such a small space can escape; others are confined within the barred cage. You can't attack a Creature in a barred cage with a weapon unless the weapon can fit between the gaps. Even against such Weapons (including Arrows and similar ranged attacks), a Creature in the barred cage has cover. All spells and breath Weapons can pass through the gaps in the bars.
Windowless Cell: This version of the spell produces a 10-foot cube with no way in and no way out. Solid walls of force form its six sides.