Skip to content

Latest commit

 

History

History
76 lines (36 loc) · 951 Bytes

File metadata and controls

76 lines (36 loc) · 951 Bytes

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