Archiviert
1
0
Dieser Commit ist enthalten in:
yoyosource 2023-07-18 18:28:42 +02:00
Ursprung e99f24b01b
Commit 3254755e61

Datei anzeigen

@ -101,6 +101,14 @@ public class EloPlayerHandler extends PacketHandler {
} else if (fightEndsPacket.getWin() == 2 && redTeamElo < blueTeamElo) {
redTeamEloBonus = outlivedDuration / 20;
blueTeamEloBonus = -(redTeamEloBonus / 2);
} else if (fightEndsPacket.getWin() == 0) {
if (redTeamElo < blueTeamElo) {
blueTeamEloBonus = outlivedDuration / 20;
redTeamEloBonus = -(blueTeamEloBonus / 2);
} else if (blueTeamElo < redTeamElo) {
redTeamEloBonus = outlivedDuration / 20;
blueTeamEloBonus = -(redTeamEloBonus / 2);
}
}
}