mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
725 B
725 B
Home > bitburner > Gang > getChanceToWinClash
Gang.getChanceToWinClash() method
Get chance to win clash with other gang.
Signature:
getChanceToWinClash(gangName: string): number;
Parameters
| Parameter | Type | Description |
|---|---|---|
| gangName | string | Target gang |
Returns:
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 the range 0-1.