mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-02-27 23:24:39 +01:00
Fixed RNG generation for augment
This commit is contained in:
@ -43,9 +43,9 @@ 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: (1 + new WHRNG(Player.lastUpdate).random()),
|
hacking_mult: (0.9 + 1.1 * (new WHRNG(Player.lastUpdate).random())),
|
||||||
});
|
});
|
||||||
CircadianRhythm.addToFactions(["VitaLife"]);
|
CircadianRhythm.addToFactions(["Illuminati"]);
|
||||||
if (augmentationExists(AugmentationNames.CircadianRhythm)) {
|
if (augmentationExists(AugmentationNames.CircadianRhythm)) {
|
||||||
delete Augmentations[AugmentationNames.CircadianRhythm];
|
delete Augmentations[AugmentationNames.CircadianRhythm];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user