From 4ac91f5599c3b4726fb0b1787a5e579725e00e8f Mon Sep 17 00:00:00 2001 From: Tesseract1234567890 <zihnalibora@gmail.com> Date: Thu, 3 Jun 2021 15:27:08 -0400 Subject: [PATCH] set to hour instead of 6 mins --- src/Augmentation/AugmentationHelpers.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Augmentation/AugmentationHelpers.jsx b/src/Augmentation/AugmentationHelpers.jsx index 90f2954eb..c63b9f3a8 100644 --- a/src/Augmentation/AugmentationHelpers.jsx +++ b/src/Augmentation/AugmentationHelpers.jsx @@ -29,7 +29,7 @@ function AddToAugmentations(aug) { } function getRandomMultiplier(min, max) { - let randomNumber = (new WHRNG(Math.floor(Player.lastUpdate/360000))); + let randomNumber = (new WHRNG(Math.floor(Player.lastUpdate/3600000))); randomNumber.step(); return (min + (max - min) * (randomNumber.random())); } @@ -57,7 +57,7 @@ function getRandomModifier() { "crime_success_mult", "work_money_mult"]; - let randomNumber = (new WHRNG(Math.floor(Player.lastUpdate/360000))); + let randomNumber = (new WHRNG(Math.floor(Player.lastUpdate/3600000))); randomNumber.step(); return (multiplierTypes[Math.floor(multiplierTypes.length * randomNumber.random())]); @@ -80,7 +80,7 @@ function initAugmentations() { name:AugmentationNames.CircadianRhythm, moneyCost: 1e12, repCost:450e3, info:"An prototype injection which modifies your circadian rhythm, leading to unexpected effects.<br><br>" + "This augmentation increases or decreases a random skill by a random amount depending on install time.<br>" + - "Debug:" + randomMod + " by " + getRandomMultiplier(0.85, 1.5) + " " + Math.floor(Player.lastUpdate/360000), + "Debug:" + randomMod + " by " + getRandomMultiplier(0.85, 1.5) + " " + Math.floor(Player.lastUpdate/3600000), [randomMod]: getRandomMultiplier(0.85, 1.5), }); CircadianRhythm.addToFactions(["Speakers for the Dead"]);