mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-23 08:03:48 +01:00
Give NeuroFlux for SF-12 before re-calculating multipliers
This commit is contained in:
parent
0c744d98b9
commit
0415c7aa7c
@ -234,6 +234,11 @@ function prestigeSourceFile() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Give levels of NeuroFluxGoverner for Source-File 12. Must be done here before Augmentations are recalculated
|
||||||
|
if (SourceFileFlags[12] > 0) {
|
||||||
|
Player.augmentations.push({name: AugmentationNames.NeuroFluxGovernor, level: SourceFileFlags[12]})
|
||||||
|
}
|
||||||
|
|
||||||
// Re-initialize things - This will update any changes
|
// Re-initialize things - This will update any changes
|
||||||
initFactions(); // Factions must be initialized before augmentations
|
initFactions(); // Factions must be initialized before augmentations
|
||||||
initAugmentations(); // Calls reapplyAllAugmentations() and resets Player multipliers
|
initAugmentations(); // Calls reapplyAllAugmentations() and resets Player multipliers
|
||||||
@ -340,11 +345,6 @@ function prestigeSourceFile() {
|
|||||||
updateHashManagerCapacity();
|
updateHashManagerCapacity();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(SourceFileFlags[12] > 0) {
|
|
||||||
Player.augmentations.push({name: AugmentationNames.NeuroFluxGovernor, level: SourceFileFlags[12]})
|
|
||||||
Player.reapplyAllAugmentations(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Refresh Main Menu (the 'World' menu, specifically)
|
// Refresh Main Menu (the 'World' menu, specifically)
|
||||||
document.getElementById("world-menu-header").click();
|
document.getElementById("world-menu-header").click();
|
||||||
document.getElementById("world-menu-header").click();
|
document.getElementById("world-menu-header").click();
|
||||||
|
Loading…
Reference in New Issue
Block a user