mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
Reset RNG to reload every hour
This commit is contained in:
parent
c793a076db
commit
8259c1a5b9
@ -77,7 +77,7 @@ function getRandomBonus() {
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
let randomNumber = (new WHRNG(Math.floor(Player.lastUpdate/36)));
|
let randomNumber = (new WHRNG(Math.floor(Player.lastUpdate/3600000)));
|
||||||
|
|
||||||
for(let i = 0; i < 3; i++){
|
for(let i = 0; i < 3; i++){
|
||||||
randomNumber.step();
|
randomNumber.step();
|
||||||
|
Loading…
Reference in New Issue
Block a user