1
This commit is contained in:
parent
2dfdbcaf7b
commit
ee0d03af89
@ -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'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user