bitburner-src/markdown/bitburner.hackingformulas.hackexp.md

784 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 from getServer
player Person Player info from getPlayer

Returns:

number

The calculated hack exp.

Remarks

Multiply by thread to get total exp