Dieser Commit ist enthalten in:
Ursprung
cbc1dd6505
Commit
bbd2b1950b
@ -84,7 +84,8 @@ public class FightEndsHandler implements SpigotHandler {
|
|||||||
for (int player : players) {
|
for (int player : players) {
|
||||||
int playerElo = UserElo.getEloOrDefault(player, gameMode);
|
int playerElo = UserElo.getEloOrDefault(player, gameMode);
|
||||||
int fights = UserElo.getFightsOfSeason(player, gameMode);
|
int fights = UserElo.getFightsOfSeason(player, gameMode);
|
||||||
UserElo.setElo(player, gameMode, (int) Math.round(playerElo + K * (result - winTeamExpectation)));
|
double multiplier = Math.max(1.2 - (fights / 200.0), 0.8);
|
||||||
|
UserElo.setElo(player, gameMode, (int) Math.round(playerElo + K * (result - winTeamExpectation) * multiplier));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren