As far as I know magic doesn't come into the equation. You pick a player, they give you 3 gold. If they do not have 3 gold, you take what they do have. If no player has any gold, nothing will happen.
This is correct.