mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 10:13:52 +01:00
more otpys
fuinction => function
This commit is contained in:
parent
94bcd0484a
commit
63e833317b
@ -97,7 +97,7 @@ export function numCycleForGrowthTransition(server: Server, growth: number, p: I
|
|||||||
* This function calculates the number of threads needed to grow a server from one $amount to a higher $amount
|
* This function calculates the number of threads needed to grow a server from one $amount to a higher $amount
|
||||||
* (ie, how many threads to grow this server from $200 to $600 for example). Used primarily for a formulas (or possibly growthAnalyze)
|
* (ie, how many threads to grow this server from $200 to $600 for example). Used primarily for a formulas (or possibly growthAnalyze)
|
||||||
* type of application. It lets you "theorycraft" and easily ask what-if type questions. It's also the one that implements the
|
* type of application. It lets you "theorycraft" and easily ask what-if type questions. It's also the one that implements the
|
||||||
* main thread calculation algorith, and so is the fuinction all helper functions should call.
|
* main thread calculation algorith, and so is the function all helper functions should call.
|
||||||
* It protects the inputs (so putting in INFINITY for targetMoney will use moneyMax, putting in a negative for start will use 0, etc.)
|
* It protects the inputs (so putting in INFINITY for targetMoney will use moneyMax, putting in a negative for start will use 0, etc.)
|
||||||
* @param server - Server being grown
|
* @param server - Server being grown
|
||||||
* @param targetMoney - How much you want the server grown TO (not by), for instance, to grow from 200 to 600, input 600
|
* @param targetMoney - How much you want the server grown TO (not by), for instance, to grow from 200 to 600, input 600
|
||||||
|
Loading…
Reference in New Issue
Block a user