There is a Legacy version
here.

Pact of Infernal Prowess Feat 8Uncommon Archetype Divine Source Dark Archives (Remastered) pg. 167Archetype PactbinderPrerequisites Pactbinder Dedication
You've sworn a pact with devils, granting you success in life in exchange for your soul in the afterlife. Once per hour, when you critically fail a check, you can reroll the check as a free action; this is a
fortune effect. Additionally, you can choose to automatically succeed at checks to Earn Income for tasks below your level, without rolling.
However, when you die, your soul is consigned to Hell. You can't be returned to life except by powerful magic such as the
wish ritual, and even then, the devils responsible for the contract can track your every move for 1 year. The devils gain the effects of a
pinpoint spell. They can also use 10th-rank
scrying on you at will, and you automatically critically fail your saving throw.
Special You can't retrain out of a Pact of Infernal Prowess without journeying to Hell and destroying the devil's written contract spelling out the terms of your pact.
Traits
Uncommon: Something of uncommon rarity requires special training or comes from a particular culture or part of the world. Some character choices give access to uncommon options, and the GM can choose to allow access for anyone. Less is known about uncommon creatures than common creatures. They typically can't be summoned. The DC of Recall Knowledge checks related to these creature is increased by 2.
Archetype: This feat belongs to an archetype.
Divine: This magic comes from the divine tradition, drawing power from deities or similar sources. Anything with this trait is magical.
A creature with this trait is primarily constituted of or has a strong connection to divine magic.