Prerequisite: Dexterity of 13 or higher

Having a hostile creature within 5 feet of you does not impose disadvantage on your ranged weapon attacks, so long as you are attacking a target within 5 feet.

When you make a ranged weapon attack against a creature within 5 feet, it cannot target you with opportunity attacks for the rest of the turn regardless if you hit or missed your attack.