From 234cd0b833a933217815bc382b7613747d056f8a Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 19 Oct 2023 21:49:38 +0100 Subject: [PATCH] Randomise standing loss for dailies --- project/src/controllers/RepeatableQuestController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/src/controllers/RepeatableQuestController.ts b/project/src/controllers/RepeatableQuestController.ts index 10503c18..1555b70a 100644 --- a/project/src/controllers/RepeatableQuestController.ts +++ b/project/src/controllers/RepeatableQuestController.ts @@ -169,7 +169,7 @@ export class RepeatableQuestController { currentRepeatableQuestType.changeRequirement[quest._id] = { changeCost: quest.changeCost, - changeStandingCost: quest.changeStandingCost + changeStandingCost: this.randomUtil.getArrayValue([0, 0.01]) }; } @@ -371,7 +371,7 @@ export class RepeatableQuestController currentRepeatablePool.activeQuests.push(newRepeatableQuest); currentRepeatablePool.changeRequirement[newRepeatableQuest._id] = { changeCost: newRepeatableQuest.changeCost, - changeStandingCost: newRepeatableQuest.changeStandingCost + changeStandingCost: this.randomUtil.getArrayValue([0, 0.01]) }; }