Skip to content

Latest commit

 

History

History
72 lines (34 loc) · 910 Bytes

File metadata and controls

72 lines (34 loc) · 910 Bytes

Home > bitburner > HackingFormulas > hackTime

HackingFormulas.hackTime() method

Calculate hack time.

Signature:

hackTime(server: Server, player: Person): number;

Parameters

Parameter

Type

Description

server

Server

Server info, typically from getServer

player

Person

Player info, typically from getPlayer

Returns:

number

The calculated hack time, in milliseconds.