mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
732 B
732 B
Home > bitburner > HackingFormulas > hackTime
HackingFormulas.hackTime() method
Calculate hack time.
Signature:
hackTime(server: Server, player: Player): number;
Parameters
Parameter | Type | Description |
---|---|---|
server | Server | Server info from getServer |
player | Player | Player info from getPlayer |
Returns:
number
The calculated hack time.