bitburner-src/markdown/bitburner.gocheat.getcheatsuccesschance.md
2024-10-27 18:52:23 -07:00

1.1 KiB

Home > bitburner > GoCheat > getCheatSuccessChance

GoCheat.getCheatSuccessChance() method

Returns your chance of successfully playing one of the special moves in the ns.go.cheat API. Scales up with your crime success rate stat. Scales down with the number of times you've attempted to cheat in the current game.

Warning: if you fail to play a cheat move, your turn will be skipped. After your first cheat attempt, if you fail, there is a small (~10%) chance you will instantly be ejected from the subnet.

Signature:

getCheatSuccessChance(cheatCount?: number): number;

Parameters

Parameter Type Description
cheatCount number (Optional) Optional override for the number of cheats already attempted. Defaults to the number of cheats attempted in the current game.

Returns:

number

Remarks

RAM cost: 1 GB Requires BitNode 14.2 to use