mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-23 08:03:48 +01:00
Modified RNG gen for testing
This commit is contained in:
parent
17315733a7
commit
1427a0f1ae
@ -77,9 +77,12 @@ function getRandomBonus() {
|
||||
]
|
||||
|
||||
|
||||
let randomNumber = (new WHRNG(Math.floor(Player.lastUpdate/360)));
|
||||
let randomNumber = (new WHRNG(Math.floor(Player.lastUpdate/36)));
|
||||
|
||||
for(let i = 0; i < 3; i++){
|
||||
randomNumber.step();
|
||||
}
|
||||
|
||||
randomNumber.step();
|
||||
return (bonuses[Math.floor(bonuses.length * randomNumber.random())]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user