Re-sleeves can no longer have the Neuroflux Governor aug. This is to prevent bugs

This commit is contained in:
danielyxie
2019-04-30 02:27:13 -07:00
parent 580a7fac24
commit d955280f90
2 changed files with 8 additions and 2 deletions
+5 -2
View File
@@ -101,9 +101,12 @@ export function generateResleeves(): Resleeve[] {
// Get a random aug
const randIndex: number = getRandomInt(0, augKeys.length - 1)
const randKey: string = augKeys[randIndex];
if (randKey === AugmentationNames.TheRedPill) {
continue; // A sleeve can't have The Red Pill
// Forbidden augmentations
if (randKey === AugmentationNames.TheRedPill || randKey === AugmentationNames.NeuroFluxGovernor) {
continue;
}
const randAug: Augmentation | null = Augmentations[randKey];
r.augmentations.push({name: randAug!.name, level: 1});
r.applyAugmentation(Augmentations[randKey]);