mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 11:33:47 +01:00
790 B
790 B
Home > bitburner > HackingFormulas > hackExp
HackingFormulas.hackExp() method
Calculate hack exp for one thread.
Signature:
hackExp(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 exp.
Remarks
Multiply by thread to get total exp