diff --git a/project/src/helpers/RagfairOfferHelper.ts b/project/src/helpers/RagfairOfferHelper.ts index be501a59..6ad3e840 100644 --- a/project/src/helpers/RagfairOfferHelper.ts +++ b/project/src/helpers/RagfairOfferHelper.ts @@ -204,6 +204,11 @@ export class RagfairOfferHelper { const tieredFleaLimitTypes = Object.keys(tieredFlea.unlocksType); for (const offer of this.ragfairOfferService.getOffers()) { + // Dont show pack offers + if (offer.sellInOnePiece) { + continue; + } + if (!this.passesSearchFilterCriteria(searchRequest, offer, pmcData)) { continue; } diff --git a/project/src/models/eft/ragfair/IRagfairOffer.ts b/project/src/models/eft/ragfair/IRagfairOffer.ts index 3666c697..0d4d094e 100644 --- a/project/src/models/eft/ragfair/IRagfairOffer.ts +++ b/project/src/models/eft/ragfair/IRagfairOffer.ts @@ -15,6 +15,7 @@ export interface IRagfairOffer { requirementsCost: number; startTime: number; endTime: number; + /** True when offer is sold as pack */ sellInOnePiece: boolean; /** Rouble price - same as requirementsCost */ summaryCost: number;