Skip to content

Commit

Permalink
Apply clue score boost (#6225)
Browse files Browse the repository at this point in the history
  • Loading branch information
DayV-git authored Nov 26, 2024
1 parent bb31691 commit c3a1112
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/mahoji/commands/clue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,10 @@ export const clueCommand: OSBMahojiCommand = {
25
);

if (learningReductionPercent >= 1) boosts.push(`${learningReductionPercent}% for Clue score`);
if (learningReductionPercent >= 1) {
timePerClue *= 1 - learningReductionPercent / 100;
boosts.push(`${learningReductionPercent}% for Clue score`);
}

const maxTripLength = calcMaxTripLength(user, 'ClueCompletion');

Expand Down

0 comments on commit c3a1112

Please sign in to comment.