Randomise standing loss for dailies

This commit is contained in:
Dev 2023-10-19 21:49:38 +01:00
parent 83590dcc25
commit 234cd0b833

View File

@ -169,7 +169,7 @@ export class RepeatableQuestController
{ {
currentRepeatableQuestType.changeRequirement[quest._id] = { currentRepeatableQuestType.changeRequirement[quest._id] = {
changeCost: quest.changeCost, 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.activeQuests.push(newRepeatableQuest);
currentRepeatablePool.changeRequirement[newRepeatableQuest._id] = { currentRepeatablePool.changeRequirement[newRepeatableQuest._id] = {
changeCost: newRepeatableQuest.changeCost, changeCost: newRepeatableQuest.changeCost,
changeStandingCost: newRepeatableQuest.changeStandingCost changeStandingCost: this.randomUtil.getArrayValue([0, 0.01])
}; };
} }