mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
33 lines
745 B
Markdown
33 lines
745 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getChanceToWinClash](./bitburner.gang.getchancetowinclash.md)
|
|
|
|
## Gang.getChanceToWinClash() method
|
|
|
|
Get chance to win clash with other gang.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
getChanceToWinClash(gangName: string): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| gangName | string | Target gang |
|
|
|
|
<b>Returns:</b>
|
|
|
|
number
|
|
|
|
Chance you have to win a clash with the specified gang.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 4 GB
|
|
|
|
Returns the chance you have to win a clash with the specified gang. The chance is returned in decimal form, not percentage
|
|
|