From a39d8b8419be93786a25b4f7f534b8d7a559c7f0 Mon Sep 17 00:00:00 2001 From: Dev Date: Sat, 23 Mar 2024 10:50:17 +0000 Subject: [PATCH] Update daily reward system to use global reward item blacklist --- project/src/generators/RepeatableQuestRewardGenerator.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/project/src/generators/RepeatableQuestRewardGenerator.ts b/project/src/generators/RepeatableQuestRewardGenerator.ts index 1662cb4f..453b9d90 100644 --- a/project/src/generators/RepeatableQuestRewardGenerator.ts +++ b/project/src/generators/RepeatableQuestRewardGenerator.ts @@ -462,6 +462,12 @@ export class RepeatableQuestRewardGenerator return false; } + // item is reward blacklisted + if (this.itemFilterService.isItemRewardBlacklisted(tpl)) + { + return false; + } + // Item is on repeatable or global blacklist if (repeatableQuestConfig.rewardBlacklist.includes(tpl) || this.itemFilterService.isItemBlacklisted(tpl)) {