add fix for augmentations not reseting

This commit is contained in:
phyzical
2022-04-04 19:50:01 +08:00
parent fadc1de2bd
commit 42276db351
2 changed files with 12 additions and 12 deletions
@@ -95,7 +95,7 @@ function getRandomBonus(): any {
return bonuses[Math.floor(bonuses.length * randomNumber.random())];
}
export const infiltratorsAugmentations = [
export const initInfiltratorsAugmentations = (): Augmentation[] => [
new Augmentation({
name: AugmentationNames.BionicFingers,
repCost: 15e1,
@@ -251,7 +251,7 @@ export const infiltratorsAugmentations = [
}),
];
export const generalAugmentations = [
export const initGeneralAugmentations = (): Augmentation[] => [
new Augmentation({
name: AugmentationNames.HemoRecirculator,
moneyCost: 4.5e7,
@@ -1643,7 +1643,7 @@ export const generalAugmentations = [
}),
];
export const bladeburnerAugmentations = [
export const initBladeburnerAugmentations = (): Augmentation[] => [
new Augmentation({
name: AugmentationNames.EsperEyewear,
repCost: 1.25e3,
@@ -1908,7 +1908,7 @@ export const bladeburnerAugmentations = [
}),
];
export const churchOfTheMachineGodAugmentations = [
export const initChurchOfTheMachineGodAugmentations = (): Augmentation[] => [
new Augmentation({
name: AugmentationNames.StaneksGift1,
repCost: 0,