Dieser Commit ist enthalten in:
Ursprung
9385f57612
Commit
e43a724550
@ -114,8 +114,8 @@ public class EloPlayerHandler extends PacketHandler {
|
|||||||
double rematchFactor = getRematchFactor(fightEndsPacket);
|
double rematchFactor = getRematchFactor(fightEndsPacket);
|
||||||
|
|
||||||
// Calculate the win factor
|
// Calculate the win factor
|
||||||
double blueWinFactor = (fightEndsPacket.getWin() == 1 ? 1 : 0.9);
|
double blueWinFactor = (fightEndsPacket.getWin() == 1 ? 1 : 0.7);
|
||||||
double redWinFactor = (fightEndsPacket.getWin() == 2 ? 1 : 0.9);
|
double redWinFactor = (fightEndsPacket.getWin() == 2 ? 1 : 0.7);
|
||||||
|
|
||||||
// Calculate division factor
|
// Calculate division factor
|
||||||
double divisionFactor = 1D / Math.min(blueTeamSize, redTeamSize);
|
double divisionFactor = 1D / Math.min(blueTeamSize, redTeamSize);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren