From 1427a0f1ae431604c59af13351bf89230b807f69 Mon Sep 17 00:00:00 2001 From: Tesseract1234567890 Date: Thu, 3 Jun 2021 16:20:35 -0400 Subject: [PATCH] Modified RNG gen for testing --- src/Augmentation/AugmentationHelpers.jsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Augmentation/AugmentationHelpers.jsx b/src/Augmentation/AugmentationHelpers.jsx index a75541f0b..d125d4a1d 100644 --- a/src/Augmentation/AugmentationHelpers.jsx +++ b/src/Augmentation/AugmentationHelpers.jsx @@ -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())]); }