Maze

Maze is a conjuration spell that traps the subject in an extradimensional maze.

Effect
You conjure up an extradimensional labyrinth of force planes, and the subject vanishes into it. If the subject attempts to escape, the time it takes to find the way out depends on its Intelligence score:

If the subject doesn't attempt to escape, the maze disappears after 10 minutes, forcing the subject to leave.
 * Int < 3: 2d4 minutes
 * 3: 1d6 minutes
 * 4-5: 1d4 minutes
 * 6-8: 5d4 rounds
 * 9-12: 4d4 rounds
 * 13-15: 3d4 rounds
 * 16-17: 2d4 rounds
 * 18+: 1d4 rounds

On leaving the maze, the subject reappears in the spot it had been in when the maze spell was cast. If this spot is filled with a solid object, the subject appears nearby.

Spells and abilities that move a creature within a plane, such as teleport and dimension door, do not help a creature escape a maze spell, although a plane shift spell allows it to exit to whatever plane is designated in that spell. Minotaurs are not affected by this spell.