mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
716 B
716 B
Home > bitburner > Singularity > getCrimeChance
Singularity.getCrimeChance() method
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 committing the specified crime.
Remarks
RAM cost: 5 GB * 16/4/1
This function returns your chance of success at committing the specified crime.