mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 06:32:26 +01:00
828 B
828 B
Home > bitburner > Gang > getChanceToWinClash
Gang.getChanceToWinClash() method
If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.
Returns the chance you have to win a clash with the specified gang. The chance is returned in decimal form, not percentage
Signature:
getChanceToWinClash(gangName: GangName): number;
Parameters
Parameter | Type | Description |
---|---|---|
gangName | GangName | Target gang |
Returns:
number
Chance you have to win a clash with the specified gang.
Remarks
RAM cost: 4 GB