From b2b45f29723bdec019923bf71dcb4afe0d9cb709 Mon Sep 17 00:00:00 2001 From: Dev Date: Sun, 11 Feb 2024 19:51:49 +0000 Subject: [PATCH] Slightly reduce expired offer count threshold --- project/assets/configs/ragfair.json | 2 +- project/src/controllers/RagfairController.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project/assets/configs/ragfair.json b/project/assets/configs/ragfair.json index 10e39ea5..bfe7ea07 100644 --- a/project/assets/configs/ragfair.json +++ b/project/assets/configs/ragfair.json @@ -59,7 +59,7 @@ "handbookPriceMultipier": 1.1, "priceThreshholdRub": 20000 }, - "expiredOfferThreshold": 1500, + "expiredOfferThreshold": 1400, "offerItemCount": { "min": 7, "max": 30 diff --git a/project/src/controllers/RagfairController.ts b/project/src/controllers/RagfairController.ts index bd999726..50f899c7 100644 --- a/project/src/controllers/RagfairController.ts +++ b/project/src/controllers/RagfairController.ts @@ -402,7 +402,7 @@ export class RagfairController averageOfferPrice *= itemPriceModifer; } - // Multipler single item price by stack count and quality + // Multiply single item price by stack count and quality averageOfferPrice *= rootItem.upd.StackObjectsCount * qualityMultiplier; const itemStackCount = (offerRequest.sellInOnePiece) ? 1 : rootItem.upd.StackObjectsCount;