bitburner-src/markdown/bitburner.gang.getchancetowinclash.md
Olivier Gagnon feb0430aff work on doc
2021-10-30 15:46:34 -04:00

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