mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
Merge pull request #1237 from Nolshine/maintain_megacorp_membership_on_aug
maintain megacorp membership on aug
This commit is contained in:
commit
a991dbf54f
@ -44,8 +44,26 @@ function prestigeAugmentation() {
|
|||||||
|
|
||||||
initBitNodeMultipliers(Player);
|
initBitNodeMultipliers(Player);
|
||||||
|
|
||||||
|
const megaCorpFactions = [
|
||||||
|
"ECorp",
|
||||||
|
"MegaCorp",
|
||||||
|
"Bachman & Associates",
|
||||||
|
"Blade Industries",
|
||||||
|
"NWO",
|
||||||
|
"Clarke Incorporated",
|
||||||
|
"Omnitek Incorporated",
|
||||||
|
"Four Sigma",
|
||||||
|
"KuaiGong International",
|
||||||
|
"Fulcrum Secret Technologies"];
|
||||||
|
|
||||||
|
let maintainMembership = Player.factions.filter(function (faction) {
|
||||||
|
return megaCorpFactions.includes(faction);
|
||||||
|
});
|
||||||
|
|
||||||
Player.prestigeAugmentation();
|
Player.prestigeAugmentation();
|
||||||
|
|
||||||
|
Player.factions = Player.factions.concat(maintainMembership);
|
||||||
|
|
||||||
// Now actually go to the Terminal Screen (and reset it)
|
// Now actually go to the Terminal Screen (and reset it)
|
||||||
var mainMenu = document.getElementById("mainmenu-container");
|
var mainMenu = document.getElementById("mainmenu-container");
|
||||||
mainMenu.style.visibility = "visible";
|
mainMenu.style.visibility = "visible";
|
||||||
|
Loading…
Reference in New Issue
Block a user