mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 21:25:47 +01:00
Merge pull request #4137 from quacksouls/cct-prob
CCT: inconsistent probability for generation between online and offline
This commit is contained in:
commit
ddda0f92c1
@ -262,7 +262,7 @@ const Engine: {
|
||||
if (numCyclesOffline < 3000 * 100) {
|
||||
// if we have less than 100 rolls, just roll them exactly.
|
||||
for (let i = 0; i < numCyclesOffline / 3000; i++) {
|
||||
if (Math.random() < 0.25) numContracts++;
|
||||
if (Math.random() <= 0.25) numContracts++;
|
||||
}
|
||||
} else {
|
||||
// just average it.
|
||||
|
Loading…
Reference in New Issue
Block a user