Skip to content

Commit

Permalink
adjust delta mmr to mimic the intrinsic inflation
Browse files Browse the repository at this point in the history
  • Loading branch information
meimisaki committed Oct 22, 2024
1 parent 664d347 commit 4d7c7d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/webapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ function getMatchScore(player, match) {
const is_solo = match.party_size <= 1;
const is_recal = isRecalibration(player, match);
const is_legacy = isLegacyMMRSystem(match);
const score = is_recal ? 75 : (is_legacy ? (is_solo ? 30 : 20) : 25);
const score = is_recal ? 75 : (is_legacy
? (is_solo ? 30 : 20) // party match gain less mmr than solo
: (is_winner ? 27 : 25) // to mimic the intrinsic mmr inflation
);
return (is_winner ? 1 : -1) * score;
}

Expand Down

0 comments on commit 4d7c7d9

Please sign in to comment.