Multiply new rating by team size. MIssed that undo!
This commit is contained in:
parent
4577cf0398
commit
a31eccc15b
@ -42,7 +42,7 @@ public class EloManager extends MiniDbClientPlugin<EloClientData>
|
|||||||
{
|
{
|
||||||
EloTeam newTeam = new EloTeam();
|
EloTeam newTeam = new EloTeam();
|
||||||
|
|
||||||
int newTotal = _ratingSystem.getNewRating(teamA.TotalElo / teamA.getPlayers().size(), teamB.TotalElo / teamB.getPlayers().size(), result);
|
int newTotal = _ratingSystem.getNewRating(teamA.TotalElo / teamA.getPlayers().size(), teamB.TotalElo / teamB.getPlayers().size(), result) * teamA.getPlayers().size();
|
||||||
int kTotal = 0;
|
int kTotal = 0;
|
||||||
|
|
||||||
for (EloPlayer player : teamA.getPlayers())
|
for (EloPlayer player : teamA.getPlayers())
|
||||||
|
Loading…
Reference in New Issue
Block a user