mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-25 17:13:47 +01:00
27 lines
655 B
Markdown
27 lines
655 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangFormulas](./bitburner.gangformulas.md) > [wantedPenalty](./bitburner.gangformulas.wantedpenalty.md)
|
|
|
|
## GangFormulas.wantedPenalty() method
|
|
|
|
Calculate the wanted penalty.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
wantedPenalty(gang: GangGenInfo): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| gang | [GangGenInfo](./bitburner.ganggeninfo.md) | Gang info from [getGangInformation](./bitburner.gang.getganginformation.md) |
|
|
|
|
**Returns:**
|
|
|
|
number
|
|
|
|
The calculated wanted penalty.
|
|
|