The eldritch knight archetype for the 5th edition fighter can technically be used to create a version of the arcane archer, though its powers are more suitable to melee weapons than ranged. With a few tweaks, the eldritch knight can become an impressive ranged combatant, while still allowing the knight’s melee advantages.
The Eldritch Archer
The spellcasting feature of the eldritch knight remains the same with the following addition. Note: These changes apply to the spellcasting class feature of all eldritch knights.
Anytime the eldritch archer is able to learn wizard spells, including those limited to theabjuration or evocation spell schools, they may instead choose one or more ranger spells from the following list. These spells are considered wizard spells.
3rd: hail of thorns, hunter’s mark
7th: cordon of arrows, pass without trace
13th: conjure barrage, lightning arrow
19th: conjure volley, swift quiver
The weapon bond class feature remains the same. Eldritch archers commonly bond one ranged weapon and one melee weapon. Though spells with a somatic component require one hand to cast, 2-handed ranged weapons such as bows and crossbows may be held in one hand while casting a spell.
The war magic class feature remains the same with the following addition. Note: These changes apply to the war magic class feature of all eldritch knights.
If you use your weapon bond on a ranged weapon and that weapon is in your hand, you may spend a bonus action whenever you cast a cantrip to imbue one piece of ammunition with the cantrip’s arcane power. As a part of the bonus action you may fire the piece of ammunition at any target or location within the weapon’s range. If the spell requires an attack roll, the attack is rolled normally for the ranged weapon using Strength or Dexterity as appropriate, not your spell casting ability. If the spell requires a saving throw, you must make a successful attack roll against either the target creature or the desired point of origin (use a base AC 10 if the target is a point instead of a creature) before forcing the target to make the saving throw.
Whether or not the spell requires an attack roll or a saving throw, a successful ranged attack roll deals damage from the ammunition in addition to the effects of the spell (weapon damage is dealt before applying the spell’s effects, including any associated saving throws). Should the damage be reduced to 0, such as through the monk’s Deflect Missiles class feature or similar effect, the spell’s effects are negated.
The eldritch strike class feature remains the same.
At 15th level, you learn to weave arcane magic around yourself in order to hide your position. After you take an attack action while hiding, you may expend one 1st level spell slot to become invisible until the beginning of your next round. You may expend a 2nd level or higher spell slot to use this ability. For each slot level above 1st, the invisibility lasts 1 additional round. Invisibility gained through use of the arcane sniper class feature is not broken by attacking or casting spells.
Improved War Magic
If you use your weapon bond on a ranged weapon and that weapon is in your hand, you may spend a bonus action whenever you cast a spell (not only a cantrip) to imbue one piece of ammunition with the spell’s arcane power. Otherwise, this feature works as the war magic class feature.