Libertalia: Winds of Galecrest

For the Topman’s (24) night ability, do you discard a maximum of 4 gold even if you have more than 4 characters on the ship?

You’ll gain 4 doubloons into your supply, then spend from your supply of doubloons. The amount you need to spend may be greater than 4.