Modified RNG gen for testing

This commit is contained in:
Tesseract1234567890 2021-06-03 16:20:35 -04:00
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())]); return (bonuses[Math.floor(bonuses.length * randomNumber.random())]);
} }