Personally, I think the following should be considered for boarding rules.
Take the number of marines (musketeers) tokens, add the crew tokens (the ship itself counts as one crew) plus the number of treasures carried by the ship (this accounts for motivation) plus one six-sided die (1d6).