From 1e7fd6232a6287b32c02d013ea7f773992dacee1 Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 20 Dec 2024 19:26:18 +0000 Subject: [PATCH] Fixed max buy restriction bonus not applying for unheard edition --- project/src/services/PostDbLoadService.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/project/src/services/PostDbLoadService.ts b/project/src/services/PostDbLoadService.ts index f9946e4e..955d2efa 100644 --- a/project/src/services/PostDbLoadService.ts +++ b/project/src/services/PostDbLoadService.ts @@ -116,6 +116,14 @@ export class PostDbLoadService { if (!this.ragfairConfig.dynamic.blacklist.enableBsgList) { this.setAllDbItemsAsSellableOnFlea(); } + + this.addMissingTraderBuyRestrictionMaxValue(); + } + + protected addMissingTraderBuyRestrictionMaxValue(): void { + this.databaseService.getGlobals().config.TradingSettings.BuyRestrictionMaxBonus.unheard_edition = { + multiplier: 1.2, + }; } protected adjustMinReserveRaiderSpawnChance(): void {