mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
set to hour instead of 6 mins
This commit is contained in:
parent
a3496cdfa9
commit
4ac91f5599
@ -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"]);
|
||||
|
Loading…
Reference in New Issue
Block a user