There is a Legacy version
here.
Mirror Shield [reaction] Feat 12*Fighter Source Player Core pg. 148Archetypes Bastion,
Knight VigilantTrigger An opponent casting a spell that targets you critically fails a spell attack roll against your AC
Requirements You have a shield raised
* This version of the Mirror Shield feat is intended for use with an Archetype and has a different level for access than the
original feat.
You reflect the spell back against its caster. Make a ranged attack against the attacker using your highest proficiency with a ranged weapon. If you can cast spells, you can choose to make a spell attack roll instead. If you succeed, your opponent takes the effects of a successful spell attack roll for their own spell (or the effects of a critical success if your attack roll was a critical success).
Archetype Use
This feat can be used for one or more Archetypes in addition to the listed Classes. When selected this way, the feat is not considered to have its class traits.