geforkt von SteamWar/BungeeCore
Fix elo again
Dieser Commit ist enthalten in:
Ursprung
e99f24b01b
Commit
3254755e61
@ -101,6 +101,14 @@ public class EloPlayerHandler extends PacketHandler {
|
|||||||
} else if (fightEndsPacket.getWin() == 2 && redTeamElo < blueTeamElo) {
|
} else if (fightEndsPacket.getWin() == 2 && redTeamElo < blueTeamElo) {
|
||||||
redTeamEloBonus = outlivedDuration / 20;
|
redTeamEloBonus = outlivedDuration / 20;
|
||||||
blueTeamEloBonus = -(redTeamEloBonus / 2);
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren