0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 15:50:42 -05:00

Fixed max buy restriction bonus not applying for unheard edition

This commit is contained in:
Chomp 2024-12-20 19:26:18 +00:00
parent e173b3d361
commit 1e7fd6232a

View File

@ -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 {