change back general augment price adjustment

This commit is contained in:
phyzical 2022-03-31 22:40:53 +08:00
parent 2edfb6e35d
commit 4232741613

@ -103,12 +103,6 @@ function updateInfiltratorCosts(infiltratorAugmentation: Augmentation): void {
}
}
function updateGeneralAugmentationPrice(augmentation: Augmentation): void {
for (let i = 0; i < Player.queuedAugmentations.length; ++i) {
augmentation.baseCost = augmentation.startingCost * getGenericAugmentationPriceMultiplier();
}
}
export function updateAugmentationCosts(): void {
for (const name of Object.keys(Augmentations)) {
if (Augmentations.hasOwnProperty(name)) {
@ -118,7 +112,7 @@ export function updateAugmentationCosts(): void {
} else if (augmentationToUpdate.factions.includes(FactionNames.Infiltrators)) {
updateInfiltratorCosts(augmentationToUpdate);
} else {
updateGeneralAugmentationPrice(augmentationToUpdate);
augmentationToUpdate.baseCost = augmentationToUpdate.startingCost * getGenericAugmentationPriceMultiplier();
}
}
}