Player > Feats > Deflect Projectiles
You can use your melee weapon to deflect attacks.
Base attack bonus +8.
When you would be hit by a ranged attack from a weapon or spell that deals energy or kinetic damage, you can spend 1 Resolve Point as a reaction to make an attack roll with a nonarchaic melee weapon that deals the same general category of damage (energy or kinetic) with a +5 bonus. If your attack roll is higher than the attack roll that hit you, you deflect the attack with your weapon, and it misses. This doesn’t work against area attacks, even against area attacks that have attack rolls like blast weapons, and you can’t use this reaction if you aren’t capable of making an attack with an appropriate weapon.