Unstable Fiendflame Cage
COMPLEX HAZARD 20 +48 (legendary)
The Fiendflame Cage is uncontrolled, releasing holy light and hellfire in the area.
DC 48 Arcana, DC 48 Nature, DC 48 Occultism, or DC 48 Religion (master) four times on the Fiendflame Cage to calm it through ritual incantations
Smite (divine)
A creature enters the area
The triggering creature is exposed to the Fiendflame Cage's clashing energies. The triggering creature takes 8d6 spirit damage, 4d6 spirit damage, and 4d6 spirit damage (DC 47 basic Fortitude). The trap then rolls initiative.
(2 actions) On its initiative, the Fiendflame Cage uses 1 action to release a wave of hellfire, dealing 2d10+12 spirit damage and 2d10+12 fire damage to all creatures in a 15-foot-radius burst (DC 47 basic Reflex). The Fiendflame Cage uses its second action to release a wave of holy light, dealing 2d10+12 spirit damage and 2d10+12 fire damage to all creatures in a 15-foot-radius burst (DC 47 basic Reflex).
The trap resets after 24 hours.
Pathfinder #186: Ghost King's RageOGL