diff --git a/src/Faction/FactionHelpers.tsx b/src/Faction/FactionHelpers.tsx index 545fb68ad..7b6a2b7ec 100644 --- a/src/Faction/FactionHelpers.tsx +++ b/src/Faction/FactionHelpers.tsx @@ -123,6 +123,30 @@ export function purchaseAugmentation(aug: Augmentation, fac: Faction, sing = fal } } + //todo make this exportable also bladburner and the other one + const infiltrationAugs = [ + AugmentationNames.BagOfSand, + AugmentationNames.IntellisenseModule, + AugmentationNames.ReverseDictionary, + AugmentationNames.AmuletOfPersuasian, + AugmentationNames.GameSharkRepository, + AugmentationNames.CyberDecoder, + AugmentationNames.MineDetector, + AugmentationNames.WireCuttingManual + ] + + // If you just purchased an infiltrator aug, recalculate cost + if (infiltrationAugs.includes(aug.name)) { + const unpurchasedInfiltrationAugs = infiltrationAugs.filter(augName => Player.hasAugmentation(augName, false)) + const purchasedInfiltrationAugsCount = infiltrationAugs.length - unpurchasedInfiltrationAugs.length + unpurchasedInfiltrationAugs + .map(augName => { + const aug = getAug(augName) + aug.baseRepRequirement = augTrueBaseRepCost * purchasedInfiltrationAugsCount + aug.baseCost = augTrueBaseCost ^ purchasedInfiltrationAugsCount + }) + } + for (const name of Object.keys(Augmentations)) { if (Augmentations.hasOwnProperty(name)) { Augmentations[name].baseCost *= CONSTANTS.MultipleAugMultiplier * [1, 0.96, 0.94, 0.93][SourceFileFlags[11]]; diff --git a/src/Faction/FactionInfo.tsx b/src/Faction/FactionInfo.tsx index 403040c64..a967f4788 100644 --- a/src/Faction/FactionInfo.tsx +++ b/src/Faction/FactionInfo.tsx @@ -641,9 +641,9 @@ export const FactionInfos: IMap = { {",'`,lII',,;;I,:'^III'',::I;',^lI::,',[$@B$$$$$$$$$$$@@:^'ll!'tv/?`,lII,':[
{"'. ;<<;. '><<^..'>>!` .Ii]/Y&%@$$$@$$$$$$@BBB8@B1''~>+' :ljd@B@$%B@B$B@%@$*}I~i] ..l<>: .^<><'..:>>i` :>!..'!>>;..'<<>' "}

{"+i. ;<>;'..i->>[CMBB@@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