Normal gun damage is based on the particular gun's Weapon Power. Spellgun damage is based on Faith (caster's and target's).

The Snipe skillset does rely on Mustadio's Speed, though.