mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-24 00:23:49 +01:00
dc9b1050bf
Includes my change and a bunch of prior changes
806 B
806 B
Home > bitburner > HackingFormulas > hackExp
HackingFormulas.hackExp() method
Calculate hack exp for one thread.
Signature:
hackExp(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 exp.
Remarks
Multiply by thread to get total exp