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

27 lines
697 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. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangFormulas](./bitburner.gangformulas.md) &gt; [calculateWantedPenalty](./bitburner.gangformulas.calculatewantedpenalty.md)
## GangFormulas.calculateWantedPenalty() method
Calculate the wanted penalty.
2021-12-09 00:19:30 +01:00
<b>Signature:</b>
```typescript
calculateWantedPenalty(gang: GangGenInfo): number;
```
## 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.