I think I already rambled on about this one...for planets, including gas giants, 100D is 'close enough', or at least better than a mass-based solution. For stars, either can work across the main sequence, but it becomes problematic with giants, white dwarfs and more exotic remnants, where mass is a 'better' - at least in game terms match. So I would tend towards using mass for stars (where the equivalent of '100D' of a Sol mass star gets you to 0.93 AU) and 100D for planets, where the planetary diameter is going to give you a closer answer - multiplied by the planet's density in terms of Earth if you want a better gravity well answer. But that's just an opinion.