bitburner-src/markdown/bitburner.gang.getchancetowinclash.md
Olivier Gagnon 43fc5dfd48 work on doc
2021-10-30 12:34:14 -04:00

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