Skip to content

Latest commit

 

History

History
72 lines (34 loc) · 830 Bytes

File metadata and controls

72 lines (34 loc) · 830 Bytes

Home > bitburner > HacknetNodesFormulas > hacknetNodeCost

HacknetNodesFormulas.hacknetNodeCost() method

Calculate the cost of a hacknet node.

Signature:

hacknetNodeCost(n: number, mult?: number): number;

Parameters

Parameter

Type

Description

n

number

number of the hacknet node

mult

number

(Optional) player cost reduction (defaults to 1)

Returns:

number

The calculated cost.