mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 14:42:28 +01:00
712 B
712 B
Home > bitburner > Singularity > getCrimeChance
Singularity.getCrimeChance() method
SF4.3 - Get chance to successfully commit a crime.
Signature:
getCrimeChance(crime: string): number;
Parameters
Parameter | Type | Description |
---|---|---|
crime | string | Name of crime. |
Returns:
number
Chance of success at commiting the specified crime.
Remarks
RAM cost: 5 GB
This function returns your chance of success at commiting the specified crime.