There is a Legacy version
here.

Ransack the Night
Ritual 3This Ritual may contain spoilers from the Season of Ghosts Adventure Path
Rare Darkness Source Season of Ghosts (Hardcover) pg. 311Cast 1 hour;
Cost blessed salt, citrus fruits (such as yuzu or limes), and rare spices worth 25 gp × the spell rank;
Secondary Casters 3
Primary Check Religion (expert);
Secondary Checks Arcana,
Intimidation, or
OccultismRange 30 feet;
Target(s) yourself and the secondary casters
Duration 12 hours
When
Fumeiyoshi was punished by the Celestial Court for deicide and fratricide, the rat who would become
Lao Shu Po robbed the cangue-bound Fumeiyoshi of a sizable chunk of his shadow. This fully catalyzed the rat’s transformation into Lao Shu Po, the new Tian goddess of night. Ransack the night is a Laoite ritual allowing you to mimic this divine thievery and shroud yourself in the night’s cerements.
This ritual can only be performed at night. You dig narrow troughs into the dirt and toss blessed salt as well as the juice of citrus fruits into these gashes in the ground. Performing this ritual in an area actively haunted by undead or frequented by fiends reduces the DCs of the ritual’s skill checks by 2.
If the ritual is successful, a smoky black miasma, said to be the blood and tears of Fumeiyoshi himself, emerges from the broken earth to augment and enhance your spiritual aura, helping you to remain undetected by
fiends and
undead.
Critical Success Fiends and undead who are 5th level or lower treat you as if you were
concealed. If you take a
hostile action against a fiend or undead, you lose this concealment against that fiend or undead until the end of your next turn.
Success As critical success, but when you lose concealment against a fiend or undead, you don’t regain concealment from this ritual against that fiend or undead.
Failure The ritual has no effect.
Critical Failure The miasma occludes your senses instead; for 24 hours, the targets treat fiends and undead as if they were concealed.
Heightened (+1) Increase the level of affected creatures by 2.