bitburner-src/markdown/bitburner.singularity.getcrimechance.md
Olivier Gagnon 43fc5dfd48 work on doc
2021-10-30 12:34:14 -04:00

900 B

Home > bitburner > Singularity > getCrimeChance

Singularity.getCrimeChance() method

If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.

This function returns your chance of success at commiting the specified crime. The chance is returned as a decimal (i.e. 60% would be returned as 0.6).

Signature:

getCrimeChance(crime: Crime): number;

Parameters

Parameter Type Description
crime Crime Name of crime.

Returns:

number

Chance of success at commiting the specified crime as a decimal.

Remarks

5 GB Level 3