Home > bitburner > Singularity > getCrimeChance
Get chance to successfully commit a crime.
Signature:
getCrimeChance(crime: string): number;
Parameter | Type | Description |
---|---|---|
crime | string | Name of crime. |
Returns:
number
Chance of success at commiting the specified crime.
RAM cost: 5 GB * 16/4/1
This function returns your chance of success at commiting the specified crime.