does bow or rifle do more damage for warrior?
Rifle, however when playing in a party, bow is superior due to it not stacking bleeds (which you typically won’t have the condition damage to back up) it will provide a fire field (might combo!) and it hits twice on every attack, so more crits/projectile finishers!
Strictly comparing both in a vacuum, rifle is better for single target. Longbow is for AoE.
If you already have an AoE weapon, rifle, but if you have no AoE, go for Longbow.