Improved Firearm Sniper (3.5e Feat)
From D&D Wiki
Improved Firearm Sniper [General]
You are even more adept in lining up accurate, deadly shots with your gun.
Prerequisite: Precise Shot, base attack bonus +6, Firearm Sniper
Benefit: You may now apply your full Dexterity modifier to damage rolls made with a firearm that you have weapon focus with. If you have the Well Practiced Aim, Opportunity Shot, or sneak attack ability, the maximum range at which you can make such attacks increases to the max range of the firearm for which you have the Weapon Focus feat.
Special: A fighter may select Improved Firearm Sniper for one of his bonus feats.