Pathfinder 2 Maze Spell
Traditions arcane, occult
Cast [2 Actions] somatic, verbal
Range 30 feet
Targets 1 creature
You transport the target into an extradimensional maze of eldritch origin and trap it there. Once each turn, the target can spend 1 action to attempt a Survival check or Perception check against your spell DC to escape the maze. The possible outcomes are as follows.
Critical Success The target escapes and the spell ends.
Success The target is on the right path to the exit. If the target was already on the right path, it escapes the maze and the spell ends.
Failure The target makes no progress toward escape.
Critical Failure The target makes no progress toward escape, and if it was on the right path, it no longer is.
Teleportation magic doesn’t help the creature escape unless the magic can transport across planes, such as plane shift. When the spell ends, either because the target escaped or the duration ran out, the target returns to the space it occupied when it was banished, or to the nearest space if the original is now filled.