From e43a724550d28d6a94c2cb78947e7ea51f737037 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 15 May 2023 16:48:23 +0200 Subject: [PATCH] Hotfix ELO_LOSE_CONSTANT --- .../bungeecore/network/handlers/EloPlayerHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/steamwar/bungeecore/network/handlers/EloPlayerHandler.java b/src/de/steamwar/bungeecore/network/handlers/EloPlayerHandler.java index c7b655f8..688f9f6b 100644 --- a/src/de/steamwar/bungeecore/network/handlers/EloPlayerHandler.java +++ b/src/de/steamwar/bungeecore/network/handlers/EloPlayerHandler.java @@ -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);