Light Prison

Evocation [light]
Level: Artificer * 2, Bard * 2, Cleric */Oracle * 2, Inquisitor * 2, Magus * 2, Sorcerer */Wizard * 2
Components: V, S
Casting Time: 1 Standard Action
Range: close (25 ft. + 5 ft./2 levels)
Target: one creature/2 levels
Duration: 1 round/level (D)
Saving Throw: Reflex negates
Spell Resistance: yes
  Rays of light burst forth from your outstretched hand, encircling each target's space with a cage of light. If a target fails its Reflex Save, it becomes enclosed in the light prison. A creature enclosed in a light prison can attack, cast spells, and otherwise act normally as long as it stays within the light prison. However, if a creature passes through the walls of a light prison enclosing it, it takes 1d6 points of damage and is Blinded for 1 round.
  Creatures do not receive saves to negate these effects. Once a creature passes through the walls of a light prison surrounding it, the effect ends for that creature.