fix for augmentation pricing

This commit is contained in:
phyzical
2022-03-29 23:42:57 +08:00
parent fd64746ff8
commit 79238ea5e9
3 changed files with 9 additions and 14 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ import { IPlayerOwnedAugmentation, PlayerOwnedAugmentation } from "../../Augment
import { AugmentationNames } from "../../Augmentation/data/AugmentationNames";
import { getRandomInt } from "../../utils/helpers/getRandomInt";
import { infiltratorsMiniGameAugmentations } from "../../Augmentation/AugmentationCreator";
import { infiltratorsAugmentations } from "../../Augmentation/AugmentationCreator";
// Executes the actual re-sleeve when one is purchased
export function purchaseResleeve(r: Resleeve, p: IPlayer): boolean {
@@ -112,7 +112,7 @@ export function generateResleeves(): Resleeve[] {
AugmentationNames.StaneksGift1,
AugmentationNames.StaneksGift2,
AugmentationNames.StaneksGift3,
...infiltratorsMiniGameAugmentations,
...infiltratorsAugmentations,
].map((augmentation) => augmentation as string);
if (forbidden.includes(randKey)) {
continue;