Sword and Pistol

Prerequisites
Dex 13, Point-Blank Shot, Rapid Shot, Snap Shot, Two-Weapon Fighting, base attack bonus +6.

You effortlessly pair melee and ranged weaponry.

Benefit: When you use the Two-Weapon Fighting feat while wielding a melee weapon and a crossbow or firearm, your attacks with the crossbow or firearm provoke no attacks of opportunity from foes that you threaten with your melee weapon.

Normal: Making a ranged attack provokes attacks of opportunity.

Combat Trick (from the Combat Stamina feat)

Source Pathfinder Unchained p. 133
When you use the Two-Weapon Fighting feat while wielding a melee weapon and a crossbow or firearm, as long as you have 1 stamina point in your stamina pool, you gain a +1 bonus on all attack rolls made with the crossbow or firearm.

← All feats