Home > bitburner > HackingFormulas > hackExp
Calculate hack exp for one thread.
Signature:
hackExp(server: Server, player: Player): number;
Parameter | Type | Description |
---|---|---|
server | Server | Server info from getServer |
player | Player | Player info from getPlayer |
Returns:
number
The calculated hack exp.
Multiply by thread to get total exp