mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-11 07:47:33 +01:00
added rng to circ. modulator
This commit is contained in:
parent
e0436a4314
commit
aef0cc815e
@ -18,6 +18,8 @@ import { dialogBoxCreate } from "../../utils/DialogBox";
|
|||||||
import { clearObject } from "../../utils/helpers/clearObject";
|
import { clearObject } from "../../utils/helpers/clearObject";
|
||||||
import { Money } from "../ui/React/Money";
|
import { Money } from "../ui/React/Money";
|
||||||
|
|
||||||
|
import { WHRNG } from "../Casino/RNG";
|
||||||
|
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ReactDOM from "react-dom";
|
import ReactDOM from "react-dom";
|
||||||
|
|
||||||
@ -41,7 +43,7 @@ function initAugmentations() {
|
|||||||
name:AugmentationNames.CircadianRhythm, moneyCost: 0, repCost:0,
|
name:AugmentationNames.CircadianRhythm, moneyCost: 0, repCost:0,
|
||||||
info:"An injection which improves your perception by a variable amount.<br><br>" +
|
info:"An injection which improves your perception by a variable amount.<br><br>" +
|
||||||
"This augmentation increases the player's hacking skill by a variable amount.",
|
"This augmentation increases the player's hacking skill by a variable amount.",
|
||||||
hacking_mult: 111.08,
|
hacking_mult: (1 + new WHRNG((new Date()).getMinutes() * 60 + (new Date()).getSeconds()).random()),
|
||||||
});
|
});
|
||||||
CircadianRhythm.addToFactions(["VitaLife"]);
|
CircadianRhythm.addToFactions(["VitaLife"]);
|
||||||
if (augmentationExists(AugmentationNames.CircadianRhythm)) {
|
if (augmentationExists(AugmentationNames.CircadianRhythm)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user