There is a Legacy version
here.

Sanctified Beans
Item 11This Item may contain spoilers from the Season of Ghosts Adventure Path
Uncommon Consumable Divine Magical Vitality Source Season of Ghosts (Hardcover) pg. 298Price 250 gp
Usage held in 1 hand;
Bulk L
Activate [two-actions] (
manipulate)
These roasted soybeans are blessed by a priest to ward against all various forms of otherworldly influence, but are most effective against
incorporeal evils, such as
wraiths or
path maidens. They can be safely eaten by living creatures and taste delicious when paired with rice wine. When you activate this item, choose an adjacent square to exhale into. You fill that square with soothing vapors that harm any
fiend,
fey,
ghost,
spirit, or
undead creature that ends their turn in that square for the next minute, causing them to take 4d8+4 spirit damage (DC 28
basic Will save). An incorporeal creature that takes this damage must also attempt a DC 28 Fortitude save to resist being affected as follows.
Critical Success These roasted soybeans are blessed by a priest to ward against all various forms of otherworldly influence, but are most effective against
incorporeal evils, such as
wraiths or
path maidens. They can be safely eaten by living creatures and taste delicious when paired with rice wine. When you activate this item, choose an adjacent square to exhale into. You fill that square with soothing vapors that harm any
fiend,
fey,
ghost,
spirit, or
undead creature that ends their turn in that square for the next minute, causing them to take 4d8+4 spirit damage (DC 28
basic Will save). An incorporeal creature that takes this damage must also attempt a DC 28 Fortitude save to resist being affected as follows.
Success The creature becomes
off-guard until the start of your next turn.
Failure The creature becomes
slowed 1 for 1 round.
Critical Failure The creature becomes
stunned 1 and is then slowed 1 for 1 round after the stun effect ends.