mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 02:03:58 +01:00
change back general augment price adjustment
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user