mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-29 17:37:34 +01:00
dc9b1050bf
Includes my change and a bunch of prior changes
748 B
748 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, typically from getServer |
player | Person | Player info, typically from getPlayer |
Returns:
number
The calculated hack time.