Home > bitburner > NS > getHackingMultipliers
Get hacking related multipliers.
Signature:
getHackingMultipliers(): HackingMultipliers;
Returns:
Object containing the Player’s hacking related multipliers.
RAM cost: 0.25 GB
Returns an object containing the Player’s hacking related multipliers. These multipliers are returned in fractional forms, not percentages (e.g. 1.5 instead of 150%).
const mults = ns.getHackingMultipliers();
ns.tprint(`chance: ${mults.chance}`);
ns.tprint(`growth: ${mults.growth}`);