1
This commit is contained in:
parent
d3a5f2a91f
commit
c6b1f93a10
@ -226,6 +226,8 @@ class BattleDataService extends BaseService {
|
||||
"pve_instance_id" => getReqVal('pve_instance_id', 0),
|
||||
"pve_instance_mode" => getReqVal('pve_instance_mode', 0),
|
||||
);
|
||||
error_log('战报-----------------------------------History');
|
||||
error_log(json_encode($data));
|
||||
BattleHistory::add($data);
|
||||
}
|
||||
|
||||
@ -473,6 +475,8 @@ class BattleDataService extends BaseService {
|
||||
$newScore = FormulaService::calcBattleAfterRankScore($userInfo,$_REQUEST,$winningPro); //赛后排位积分
|
||||
$newElo = FormulaService::calcUserEloValue($userInfo,$_REQUEST,$winningPro); //赛后elo积分
|
||||
mt\Rank::calcNewRankAndScore( $newRank, $newScore);
|
||||
error_log('NewScore---------------'.$newScore);
|
||||
error_log('NewELO---------------'.$newElo );
|
||||
if ( $newScore != $userInfo['score'] ) {
|
||||
myself()->_updateUserInfo(array(
|
||||
'rank' => $newRank,
|
||||
|
Loading…
x
Reference in New Issue
Block a user