mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
deleted unnecessary functions
This commit is contained in:
parent
29d7134859
commit
17315733a7
@ -28,42 +28,6 @@ function AddToAugmentations(aug) {
|
|||||||
Augmentations[name] = aug;
|
Augmentations[name] = aug;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getRandomMultiplier(min, max) {
|
|
||||||
let randomNumber = (new WHRNG(Math.floor(Player.lastUpdate/3600000)));
|
|
||||||
randomNumber.step();
|
|
||||||
return (min + (max - min) * (randomNumber.random()));
|
|
||||||
}
|
|
||||||
|
|
||||||
function getRandomModifier() {
|
|
||||||
var multiplierTypes =
|
|
||||||
["hacking_chance_mult",
|
|
||||||
"hacking_speed_mult",
|
|
||||||
"hacking_money_mult",
|
|
||||||
"hacking_grow_mult",
|
|
||||||
"hacking_mult",
|
|
||||||
"strength_mult",
|
|
||||||
"defense_mult",
|
|
||||||
"dexterity_mult",
|
|
||||||
"agility_mult",
|
|
||||||
"charisma_mult",
|
|
||||||
"hacking_exp_mult",
|
|
||||||
"strength_exp_mult",
|
|
||||||
"defense_exp_mult",
|
|
||||||
"dexterity_exp_mult",
|
|
||||||
"agility_exp_mult",
|
|
||||||
"charisma_exp_mult",
|
|
||||||
"company_rep_mult",
|
|
||||||
"faction_rep_mult",
|
|
||||||
"crime_money_mult",
|
|
||||||
"crime_success_mult",
|
|
||||||
"work_money_mult"];
|
|
||||||
|
|
||||||
let randomNumber = (new WHRNG(Math.floor(Player.lastUpdate/3600000)));
|
|
||||||
|
|
||||||
randomNumber.step();
|
|
||||||
return (multiplierTypes[Math.floor(multiplierTypes.length * randomNumber.random())]);
|
|
||||||
}
|
|
||||||
|
|
||||||
function getRandomBonus() {
|
function getRandomBonus() {
|
||||||
var bonuses =
|
var bonuses =
|
||||||
[
|
[
|
||||||
@ -130,7 +94,6 @@ function initAugmentations() {
|
|||||||
clearObject(Augmentations);
|
clearObject(Augmentations);
|
||||||
|
|
||||||
//Time-Based Augment Test
|
//Time-Based Augment Test
|
||||||
var randomMod = getRandomModifier();
|
|
||||||
var randomBonuses = getRandomBonus();
|
var randomBonuses = getRandomBonus();
|
||||||
|
|
||||||
const CircadianRhythm = new Augmentation({
|
const CircadianRhythm = new Augmentation({
|
||||||
|
Loading…
Reference in New Issue
Block a user