Home > bitburner > HackingFormulas > hackTime
Calculate hack time.
Signature:
hackTime(server: Server, player: Person): number;
Parameter | Type | Description |
---|---|---|
server | Server | Server info from getServer |
player | Person | Player info from getPlayer |
Returns:
number
The calculated hack time.