mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
GRAFTING: Bladeburner augs can be grafted if player is in Bladeburner faction (#321)
This commit is contained in:
parent
41451280ab
commit
6f0b3d07b8
@ -7,7 +7,11 @@ export const getGraftingAvailableAugs = (): string[] => {
|
|||||||
const augs: string[] = [];
|
const augs: string[] = [];
|
||||||
|
|
||||||
for (const [augName, aug] of Object.entries(StaticAugmentations)) {
|
for (const [augName, aug] of Object.entries(StaticAugmentations)) {
|
||||||
if (aug.isSpecial) continue;
|
if (Player.factions.includes("Bladeburners")) {
|
||||||
|
if (aug.isSpecial && !aug.factions.includes("Bladeburners")) continue;
|
||||||
|
} else {
|
||||||
|
if (aug.isSpecial) continue;
|
||||||
|
}
|
||||||
augs.push(augName);
|
augs.push(augName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user