mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 21:23:54 +01:00
818 B
818 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
4 GB