mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
726 B
726 B
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 from getServer |
player | Person | Player info from getPlayer |
Returns:
number
The calculated hack time.