mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
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