mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
Modified RNG gen for testing
This commit is contained in:
@@ -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())]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user