mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-05 12:57:35 +01:00
Joining one hacking faction will no longer ban you from others
This commit is contained in:
parent
6b7b25c294
commit
b33b5c1089
@ -472,16 +472,7 @@ joinFaction = function(faction) {
|
|||||||
Player.factions.push(faction.name);
|
Player.factions.push(faction.name);
|
||||||
|
|
||||||
//Determine what factions you are banned from now that you have joined this faction
|
//Determine what factions you are banned from now that you have joined this faction
|
||||||
if (faction.name == "BitRunners") {
|
if (faction.name == "Chongqing") {
|
||||||
Factions["The Black Hand"].isBanned = true;
|
|
||||||
Factions["NiteSec"].isBanned = true;
|
|
||||||
} else if (faction.name == "The Black Hand") {
|
|
||||||
Factions["BitRunners"].isBanned = true;
|
|
||||||
Factions["NiteSec"].isBanned = true;
|
|
||||||
} else if (faction.name == "NiteSec") {
|
|
||||||
Factions["BitRunners"].isBanned = true;
|
|
||||||
Factions["The Black Hand"].isBanned = true;
|
|
||||||
} else if (faction.name == "Chongqing") {
|
|
||||||
Factions["Sector-12"].isBanned = true;
|
Factions["Sector-12"].isBanned = true;
|
||||||
Factions["Aevum"].isBanned = true;
|
Factions["Aevum"].isBanned = true;
|
||||||
Factions["Volhaven"].isBanned = true;
|
Factions["Volhaven"].isBanned = true;
|
||||||
@ -520,16 +511,7 @@ leaveFaction = function(faction) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Unban from faction
|
//Unban from faction
|
||||||
if (faction.name == "BitRunners") {
|
if (faction.name == "Chongqing") {
|
||||||
Factions["The Black Hand"].isBanned = false;
|
|
||||||
Factions["NiteSec"].isBanned = false;
|
|
||||||
} else if (faction.name == "The Black Hand") {
|
|
||||||
Factions["BitRunners"].isBanned = false;
|
|
||||||
Factions["NiteSec"].isBanned = false;
|
|
||||||
} else if (faction.name == "NiteSec") {
|
|
||||||
Factions["BitRunners"].isBanned = false;
|
|
||||||
Factions["The Black Hand"].isBanned = false;
|
|
||||||
} else if (faction.name == "Chongqing") {
|
|
||||||
Factions["Sector-12"].isBanned = false;
|
Factions["Sector-12"].isBanned = false;
|
||||||
Factions["Aevum"].isBanned = false;
|
Factions["Aevum"].isBanned = false;
|
||||||
Factions["Volhaven"].isBanned = false;
|
Factions["Volhaven"].isBanned = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user