Skip to content

Commit

Permalink
Fixed max buy restriction bonus not applying for unheard edition
Browse files Browse the repository at this point in the history
  • Loading branch information
Chomp committed Dec 20, 2024
1 parent e173b3d commit 1e7fd62
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions project/src/services/PostDbLoadService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1e7fd62

Please sign in to comment.