geforkt von SteamWar/BungeeCore
Fix team ratio scaling
Dieser Commit ist enthalten in:
Ursprung
fcd686a9ba
Commit
fbcb043d1c
@ -194,11 +194,11 @@ public class FightEndsHandler extends PacketHandler {
|
||||
}
|
||||
|
||||
private double getBluePlayerFactor(int blueTeam, int redTeam) {
|
||||
return redTeam / (double) blueTeam;
|
||||
return 2 - calcWinExpectation(blueTeam, redTeam) * 2;
|
||||
}
|
||||
|
||||
private double getRedPlayerFactor(int blueTeam, int redTeam) {
|
||||
return blueTeam / (double) redTeam;
|
||||
return 2 - calcWinExpectation(redTeam, blueTeam) * 2;
|
||||
}
|
||||
|
||||
private double getTimeFactor(int duration) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren