bitburner-src/markdown/bitburner.singularity.getcrimechance.md
Olivier Gagnon 49a545f00e many bugfix
2021-12-03 14:12:32 -05:00

33 lines
712 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Singularity](./bitburner.singularity.md) &gt; [getCrimeChance](./bitburner.singularity.getcrimechance.md)
## Singularity.getCrimeChance() method
SF4.3 - Get chance to successfully commit a crime.
<b>Signature:</b>
```typescript
getCrimeChance(crime: string): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| crime | string | Name of crime. |
<b>Returns:</b>
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.