From ee0d03af8983cf52dfaf7633aaabab36a9f59706 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Tue, 14 May 2024 12:00:24 +0800 Subject: [PATCH] 1 --- webapp/services/RoomBattleDataService.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/webapp/services/RoomBattleDataService.php b/webapp/services/RoomBattleDataService.php index 21c93c96..657732bd 100644 --- a/webapp/services/RoomBattleDataService.php +++ b/webapp/services/RoomBattleDataService.php @@ -85,6 +85,14 @@ class RoomBattleDataService extends BaseService { $newRank=$userDb['rank']; $ranked = $this->getMyRanked($account); $newScore = FormulaService::calcBattleAfterRankScoreNew($userDb,$ranked,$teamRanked,$winningPro); + if ($account == "6517_2006_s1_0_104162729566475397176"){ + error_log("RankParam: ".json_encode(array( + 'rank' => $ranked, + 'teamRank' => $teamRanked, + 'winningPro' => $winningPro, + "sortAccount" => $this->teamExpScoreSort + ))); + } $newElo = FormulaService::calcUserEloValueNew($userDb,$ranked,$winningPro); if ($newScore < $userDb['score'] && $userDb['score']< 1300){ $newScore = $userDb['score'];