# Does uncanny dodge prevent ranged sneak attacks?

I have a Pathfinder ranged rogue build and I was looking up some some rules on sneak attack. The way I read it, it would seem that it's almost impossible to sneak attack anybody that has with uncanny dodge using range weapons.

Here's what is said about the condition needed for sneak attacking:

the rogue's attack deals extra damage anytime her target would be denied a dexterity bonus to AC, or when the rogue flanks her target.

Since ranged flanking seems a bit illogical, it seems you can only sneak attack by denying defenders their dex modifier. In combat that would usually be in the surprise round, when your opponents are still flat footed. However, when somebody has uncanny dodge things change.

About being flat footed, uncanny dodge says the following:

a rogue can react to danger before her senses would normally allow her to do so. She cannot be caught flat-footed, nor does she loose her dex bonus to ac if the attacker is invisible.

I feel this implies that the flat footed condition can never be applied to characters with uncanny dodge. I have not yet found a situation where the dex bonus is denied, while the defenders are still conscious and in control of their own body.

Then there is the rogue talent surprise attack. And it seems it's ruling conflicts with the uncanny dodge rulings. It says:

During the surprise round, opponents are always considered flat-footed to a rogue with this ability, even if they have already acted.

You could debate about what is said in all these rules, and what the intentions of the rules are. I think they can be read in at least two ways.

One way would be to say that a rogue with uncanny dodge cannot be caught flat footed, so it will always have their dex bonus applied to the defense. The surprise attack cannot work on them, and this is also due to the fact that the surprise attack is meant to provide the flat footed condition to the defender that has already acted in the surprise round. It cannot turn off the uncanny dodge ability of any defender.

Another way would be to say that the surprise attack doesn't make the defender flat footed, but they are only considered to be flat footed for the attacker. This means, while the defenders are not flat footed, they are treated as flat footed only to the attacker with this talent.

The first interpretation denies the sneak attack, while the second allows it. At this point I think I agree with the second statement since it does not create a conflict in the rules. But it also helps that I sort of want to use the rules in my favor. So is this possible?

• Please use quoteboxes, that is, paragraphs starting with >, rather than codeboxes, paragraphs starting with four spaces, for quotes. Alternative web-browsing tools, particularly non-visual ones for the blind, handle code in very specific ways that is not appropriate to regular text. – KRyan Oct 18 '15 at 13:15