2021-12-09 00:19:30 +01:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
2021-12-09 01:19:07 +01:00
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangFormulas](./bitburner.gangformulas.md) > [wantedPenalty](./bitburner.gangformulas.wantedpenalty.md)
|
2021-12-09 00:19:30 +01:00
|
|
|
|
2021-12-09 01:19:07 +01:00
|
|
|
## GangFormulas.wantedPenalty() method
|
2021-12-09 00:19:30 +01:00
|
|
|
|
2021-12-09 00:41:49 +01:00
|
|
|
Calculate the wanted penalty.
|
|
|
|
|
2021-12-09 00:19:30 +01:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
2021-12-09 01:19:07 +01:00
|
|
|
wantedPenalty(gang: GangGenInfo): number;
|
2021-12-09 00:19:30 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2021-12-09 00:41:49 +01:00
|
|
|
| gang | [GangGenInfo](./bitburner.ganggeninfo.md) | Gang info from [getGangInformation](./bitburner.gang.getganginformation.md) |
|
2021-12-09 00:19:30 +01:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
number
|
|
|
|
|
2021-12-09 00:41:49 +01:00
|
|
|
The calculated wanted penalty.
|
|
|
|
|