If you're thinking about a ranged focused character, you could consider the Eldritch Archer magus archetype. But, that said, this AP isn't a big one for dungeon crawls. I'm not saying you'll always be comfortably able to brawl in melee, but it's not as big an issue as in most games.