diff --git a/webapp/services/RoomBattleDataService.php b/webapp/services/RoomBattleDataService.php index 169c38f4..63a85f32 100644 --- a/webapp/services/RoomBattleDataService.php +++ b/webapp/services/RoomBattleDataService.php @@ -218,28 +218,26 @@ class RoomBattleDataService extends BaseService { $gold = $gold * ($totalCompute / ($totalCompute + $computeParam) * $computeMaxEffect + 1); $compute = ($totalCompute / ($totalCompute + $computeParam) * $computeMaxEffect + 1); } - if ($userDb['account_id'] == "6513_2006_VBpXS6ACSw6oqbEspB3N1ezsAty0IIvk"){ + if ($userDb['account_id'] == "6517_2006_s1_0_104162729566475397176"){ error_log("BattleGoldRecord:".json_encode(array( -// 'goldLootIndex' => $rewardMeta['goldLoot'], - 'map_mode' => $this->mapMode, -// '*baseGold*' => $baseGold, -// 'teamRank' => $teamRank, -// '*ranking*' => isset($coefficient) ? $coefficient : '空', -// 'battleScore' => $battleScore, -// 'realUserCount' => $this->realUserCount, -// 'teamScoreTotal' => $teamScore, -// 'teamScoreAvg' => $teamScoreAvg, -// '*score*' => '=========', -// 'wealthK' => $wealthK, -// 'wealthE' => $wealthE, -// 'wealthValue' => Hero::getHeroWealth($heroDb), -// '*wealth*' => (1 + $wealthE * (Hero::getHeroWealth($heroDb) / (Hero::getHeroWealth($heroDb) + $wealthK))), -// 'lastCompute' => isset($lastCompute) ? $lastCompute : '空', -// 'currentCompute' => isset($currentCompute) ? $currentCompute : '空', -// '*compute*' => isset($compute) ? $compute : '算力系统关闭', - 'goldTimes' => $goldModeTimes, - 'gold' => floor($gold), - 'dny_gold' => myself()->_getDailyV(TN_DAILY_GATHER_GOLD,0), + 'goldLootIndex' => $rewardMeta['goldLoot'], + 'map_mode' => $this->mapMode, + '*baseGold*' => $baseGold, + 'teamRank' => $teamRank, + '*ranking*' => isset($coefficient) ? $coefficient : '空', + 'battleScore' => $battleScore, + 'realUserCount' => $this->realUserCount, + 'teamScoreTotal' => $teamScore, + 'teamScoreAvg' => $teamScoreAvg, + '*score*' => '=========', + 'wealthK' => $wealthK, + 'wealthE' => $wealthE, + 'wealthValue' => Hero::getHeroWealth($heroDb), + '*wealth*' => (1 + $wealthE * (Hero::getHeroWealth($heroDb) / (Hero::getHeroWealth($heroDb) + $wealthK))), + 'lastCompute' => isset($lastCompute) ? $lastCompute : '空', + 'currentCompute' => isset($currentCompute) ? $currentCompute : '空', + '*compute*' => isset($compute) ? $compute : '算力系统关闭', + 'finalGold' => floor($gold) ))); } if ($gold > 0){