bitburner-src/markdown/bitburner.gangformulas.wantedpenalty.md

27 lines
661 B
Markdown
Raw Normal View History

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) &gt; [bitburner](./bitburner.md) &gt; [GangFormulas](./bitburner.gangformulas.md) &gt; [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
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 |
| --- | --- | --- |
| 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
The calculated wanted penalty.