There is a Legacy version
here.

Night's Warning [reaction] Feat 14Archetype Concentrate Occult Source Gatewalkers (Hardcover) pg. 239Archetype Oatia SkysageFrequency once per hour
Prerequisites Oatia Skysage DedicationTrigger A creature targets you with an attack and you can see the attacker.
Requirements You can see the night sky.
Portents written in the night sky show you how to avoid an attack. The triggering attack roll targets your Occultism DC instead of your AC. Though this allows you to avoid taking penalties to your AC, it doesn’t remove any conditions or other effects causing such penalties. For example, an enemy with sneak attack would still deal extra damage to you for being
off-guard, even though you wouldn’t take the –2 circumstance penalty when defending against the attack.
Traits
Archetype: This feat belongs to an archetype.
Concentrate: An action with this trait requires a degree of mental concentration and discipline.
Occult: This magic comes from the occult tradition, calling upon bizarre and ephemeral mysteries. Anything with this trait is magical.
A creature with this trait is primarily constituted of or has a strong connection to occult magic.