bitburner-src/markdown/bitburner.singularity.getcrimechance.md

817 B

Home > bitburner > Singularity > getCrimeChance

Singularity.getCrimeChance() method

Get chance to successfully commit a crime.

Signature:

getCrimeChance(crime: CrimeType | `${CrimeType}`): number;

Parameters

Parameter Type Description
crime CrimeType | `${CrimeType}` Name of crime.

Returns:

number

Chance of success at committing the specified crime.

Remarks

RAM cost: 5 GB * 16/4/1

This function returns your chance of success at committing the specified crime.