bitburner-src/markdown/bitburner.hackingformulas.hackchance.md
Olivier Gagnon 14317628e6 formulas doc
2021-12-08 19:19:07 -05:00

744 B

Home > bitburner > HackingFormulas > hackChance

HackingFormulas.hackChance() method

Calculate hack chance.

Signature:

hackChance(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 chance.