Images of Powerlessness
HAZARD 12 +25 (expert) to realize the illusory images conceal a magical trap (noticing the images has a DC of 0)
Psychically-enhanced illusions flood the minds of creatures in the 95-foot-long, 15-foot-wide hallway (the white dotted box on the map) with visions of their failures yet to come.
DC 32 Occultism (master) or Dispel Magic (5th rank; counteract DC 26) to weaken the images; three successes are required to disable the trap
HP 10 (BT 5)
Flood of Despair (curse, emotion, mental)
A creature ends a move action within the trap's area
The triggering creature takes 2d10+10 mental damage (DC 32 basic Will save) as it considers its future failures. A creature that takes damage hears a soft whisper offering, "Let me take something from you and I can stop the pain." A creature who agrees loses access to a random class feat that isn't a prerequisite for another feat, and the creature doesn't take further damage from Flood of Despair. This effect lasts for 1 week and can be ended by effects that remove curses. The creature also immediately detects the secret door at the end of the hall, no matter how far away from the end of the hall they are.
The trap resets immediately and can affect the same creature multiple times on the creature's turn.
Pathfinder #165: Eyes of Empty DeathOGL