You can fight in melee with your ranged weapon
Prerequisites
Perception 3 ranks, Weapon Focus with the Bow or Crossbow weapon group.
Benefit
While using this style, you can make melee attacks with a bow or crossbow as if it were a heavy mace (or a light mace is using a hand crossbow), though you don’t automatically threaten the area around you as if you were wielding a melee weapon. These melee attacks do not provoke attacks of opportunity.