Files
bitburner-src/markdown/bitburner.ns.hackchance.md
T
Olivier Gagnon 43fc5dfd48 work on doc
2021-10-30 12:34:14 -04:00

700 B

Home > bitburner > NS > hackChance

NS.hackChance() method

Returns the chance you have of successfully hacking the specified server.

This returned value is in decimal form, not percentage.

Signature:

hackChance(host: Host): number;

Parameters

Parameter Type Description
host Host Hostname or IP of the target server.

Returns:

number

The chance you have of successfully hacking the target server.

Remarks

1 GB