bitburner-src/markdown/bitburner.hacknetserversformulas.hashgainrate.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking (#139)"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00

857 B

Home > bitburner > HacknetServersFormulas > hashGainRate

HacknetServersFormulas.hashGainRate() method

Calculate hash gain rate.

Signature:

hashGainRate(level: number, ramUsed: number, maxRam: number, cores: number, mult?: number): number;

Parameters

Parameter Type Description
level number level of the server.
ramUsed number ramUsed of the server.
maxRam number maxRam of the server.
cores number cores of the server.
mult number player production mult (default to 1)

Returns:

number

The calculated hash gain rate.