mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 02:03:58 +01:00
more intial infil aug changes
This commit is contained in:
parent
58e3ecbf69
commit
b4260173e7
@ -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)) {
|
for (const name of Object.keys(Augmentations)) {
|
||||||
if (Augmentations.hasOwnProperty(name)) {
|
if (Augmentations.hasOwnProperty(name)) {
|
||||||
Augmentations[name].baseCost *= CONSTANTS.MultipleAugMultiplier * [1, 0.96, 0.94, 0.93][SourceFileFlags[11]];
|
Augmentations[name].baseCost *= CONSTANTS.MultipleAugMultiplier * [1, 0.96, 0.94, 0.93][SourceFileFlags[11]];
|
||||||
|
@ -641,9 +641,9 @@ export const FactionInfos: IMap<FactionInfo> = {
|
|||||||
{",'`,lII',,;;I,:'^III'',::I;',^lI::,',[$@B$$$$$$$$$$$@@:^'ll!'<U#$$$$$$$$$$$$$8L<^:,;:;l'''II;,','l;!'',,I;:,''lI;,,''ll;:'':llI;c)~iI:^:'>tv/?`,lII,':[<I;'',Il!'`"}<br /><br />
|
{",'`,lII',,;;I,:'^III'',::I;',^lI::,',[$@B$$$$$$$$$$$@@:^'ll!'<U#$$$$$$$$$$$$$8L<^:,;:;l'''II;,','l;!'',,I;:,''lI;,,''ll;:'':llI;c)~iI:^:'>tv/?`,lII,':[<I;'',Il!'`"}<br /><br />
|
||||||
{"'. ;<<;. '><<^..'>>!` .Ii<l.' >]/Y&%@$$$@$$$$$$@BBB8@B1''~>+' :ljd@B@$%B@B$B@%@$*}I~i] ..l<>: .^<><'..:><l...!><I..'>>i` :><!`)XUX+:'.^!}vY:.:~>!..'!>>;..'<<>' "}<br /><br />
|
{"'. ;<<;. '><<^..'>>!` .Ii<l.' >]/Y&%@$$$@$$$$$$@BBB8@B1''~>+' :ljd@B@$%B@B$B@%@$*}I~i] ..l<>: .^<><'..:><l...!><I..'>>i` :><!`)XUX+:'.^!}vY:.:~>!..'!>>;..'<<>' "}<br /><br />
|
||||||
{"+<!' ^!>i. ;<>;'..i->>[CMBB@@%@@$@@$@@@$$$$$$@@BBhW%k>I'' I<<,`':<+O8B%B$@@$$@@@@WC',i~i,. I~>I. .I>>, ^<>!' 'i<~ `l~+;..`<>i' ;><!^ :~!>, `!<i` :~>!. .:i"}<br /><br />
|
{"+<!' ^!>i. ;<>;'..i->>[CMBB@@%@@$@@$@@@$$$$$$@@BBhW%k>I'' I<<,`':<+O8B%B$@@$$@@@@WC',i~i,. I~>I. .I>>, ^<>!' 'i<~ `l~+;..`<>i' ;><!^ :~!>, `!<i` :~>!. .:i"}<br /><br />
|
||||||
{"Ii~:'^'i>l^''lii>.,Q$8B@@BB@BB@$@@$@$$B@$$$$$$$%$@%} ,n!I .'l>>; .'l>l^,J$B$%%$$@BB$@@W~I!` ^:>>l '.i!iI^',l>!''',<ll''.llI'.''~!!:'',PHYZICAL!<I'^'i!i:.`'i!i^'`,"}<br /><br />
|
{"Ii~:'^'i>l^''lii>.,Q$8B@@BB@BB@$@@$@$$B@$$$$$$$%$@%} ,n!I .'l>>; .'l>l^,J$B$%%$$@BB$@@W~I!` ^:>>l '.i!iI^',l>!''',<ll''.llI'.''~!!:'',PHYZ|C@L!<I'^'i!i:.`'i!i^'`,"}<br /><br />
|
||||||
{". .;>>I. '>+<' 'i~@$%$@@$@@@$$$$$$$$$$$$BB%%@@@@@@*i^ ^~+<` ,>>I. .+!>Ii8@B8B%@$$$$$$h~I+<:^ 'i>>' :+>!'. l>>;..'>>i` .:<<i . l><>.WAZ `i<~. .:<<!. .!~~: .><"}<br /><br />
|
{". .;>>I. '>+<' 'i~@$%$@@$@@@$$$$$$$$$$$$BB%%@@@@@@*i^ ^~+<` ,>>I. .+!>Ii8@B8B%@$$$$$$h~I+<:^ 'i>>' :+>!'. l>>;..'>>i` .:<<i . l><>W@Z. `i<~. .:<<!. .!~~: .><"}<br /><br />
|
||||||
{"!i!'..'!>!'.'Ii!I'.%%@%B@@B@@$$$$$$$$$$$$@@@BB@$$%@Ml;i>l'''lil'..^!i!`'';<<<JBBBB$$$$$@@%Wc^:!iI'`'l>i:.`'l!!`..'!!!''`lii;''`>ii'``:i>l^HERE''ii!,'.^!>i^'':iil."}<br /><br />
|
{"!i!'..'!>!'.'Ii!I'.%%@%B@@B@@$$$$$$$$$$$$@@@BB@$$%@Ml;i>l'''lil'..^!i!`'';<<<JBBBB$$$$$@@%Wc^:!iI'`'l>i:.`'l!!`..'!!!''`lii;''`>ii'``:H3R3i>l^''ii!,'.^!>i^'':iil."}<br /><br />
|
||||||
{"ii>, .,><l'. I!>>'.'i-11(rcL0mZwdoW%B@@@@f+@B8@BB@@#Il>il.. l>i;. ^>>>'. '<<i'^Q@%@$@B$@@@BB@WQ>i . i>!;..^i>>`. ,>i>.'.l>>:.'`>i+`..,>~!'. !<<;..`>>l^'.:!>+' l<"}<br /><br />
|
{"ii>, .,><l'. I!>>'.'i-11(rcL0mZwdoW%B@@@@f+@B8@BB@@#Il>il.. l>i;. ^>>>'. '<<i'^Q@%@$@B$@@@BB@WQ>i . i>!;..^i>>`. ,>i>.'.l>>:.'`>i+`..,>~!'. !<<;..`>>l^'.:!>+' l<"}<br /><br />
|
||||||
{" .';<>I..`i+<'..'><i^' l<>I. i<<:. '!<>' ',>>I^'`!i<'..`><~`..;<<;'. <>>:..'l>i?BB@@@$@$$$$$@$BC~><^..,><l...>~>,...<ii^..;>>l. .!<>:. 'i<~ .',<~!' .l<<,...i~>'."}<br /><br />
|
{" .';<>I..`i+<'..'><i^' l<>I. i<<:. '!<>' ',>>I^'`!i<'..`><~`..;<<;'. <>>:..'l>i?BB@@@$@$$$$$@$BC~><^..,><l...>~>,...<ii^..;>>l. .!<>:. 'i<~ .',<~!' .l<<,...i~>'."}<br /><br />
|
||||||
{",;;,:,;;,::,:,:::;,,;;:;,,;;I;',:::,:,:,;I:',;I,::,:,;::,,,:,,I;,:,:;::,:;;;;'II;>8$BBB$$$$$$$$8B%]::,;,::,,:;;,:,;;,:,;;;:',::;:;;::::::,,;::;,,:I:,,,:;,::,,:::;"}<br /><br />
|
{",;;,:,;;,::,:,:::;,,;;:;,,;;I;',:::,:,:,;I:',;I,::,:,;::,,,:,,I;,:,:;::,:;;;;'II;>8$BBB$$$$$$$$8B%]::,;,::,,:;;,:,;;,:,;;;:',::;:;;::::::,,;::;,,:I:,,,:;,::,,:::;"}<br /><br />
|
||||||
|
Loading…
Reference in New Issue
Block a user