Homebrew
Multiattack. The musketeer makes either two Pistol, two Rapier, or one of each type of attack. It can replace one attack with a Musket attack.
Musket. Ranged Attack Roll: +5 to hit, range 120'/480 ft., misfire 2, one target. Hit: 9 (1d12 + 3) piercing damage.
Pistol. Ranged Attack Roll: +5 to hit, range 60'/140' ft., misfire 1, one target. Hit: 8 (1d10 + 3) piercing damage.
Rapier. Melee Attack Roll: +5 to hit, reach 5 ft., one target. Hit: 7 (1d8 + 3) piercing damage.
Evasive Footwork. If the musketeer hits a creature with an attack, the musketeer can take the Disengage or Dodge action as a bonus action.
Parry. Trigger: The musketeer is hit by a melee attack roll while holding a weapon. Response: The musketeer adds 2 to its AC against that attack, possibly causing it to miss.
Any Climate; Any Terrain