MCPcopy Create free account
hub / github.com/IvarK/AntimatterDimensionsSourceCode / getMaxBought

Method getMaxBought

src/core/math.js:398–429  ·  view source on GitHub ↗

* Figure out how much of this can be bought. * This returns the maximum new number of this thing; If you have 51 and can * afford to buy 10 more, this will return 61. NOTE! this assumes you only * have to pay for the most expensive thing you get when you buy in bulk. This * means it'

(currentPurchases, rawMoney, numberPerSet)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

buyMaxTickSpeedFunction · 0.80
buyMaxDimensionFunction · 0.80

Calls 1

log10Method · 0.80

Tested by

no test coverage detected