SteamWar/BungeeCore
Archiviert
13
2

Hotfix ELO_LOSE_CONSTANT
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2023-05-15 16:48:23 +02:00
Ursprung 9385f57612
Commit e43a724550

Datei anzeigen

@ -114,8 +114,8 @@ public class EloPlayerHandler extends PacketHandler {
double rematchFactor = getRematchFactor(fightEndsPacket);
// Calculate the win factor
double blueWinFactor = (fightEndsPacket.getWin() == 1 ? 1 : 0.9);
double redWinFactor = (fightEndsPacket.getWin() == 2 ? 1 : 0.9);
double blueWinFactor = (fightEndsPacket.getWin() == 1 ? 1 : 0.7);
double redWinFactor = (fightEndsPacket.getWin() == 2 ? 1 : 0.7);
// Calculate division factor
double divisionFactor = 1D / Math.min(blueTeamSize, redTeamSize);