This commit is contained in:
hujiabin 2024-05-21 17:57:28 +08:00
parent 1a66ada8dd
commit 4c3a013fe6

View File

@ -218,28 +218,26 @@ class RoomBattleDataService extends BaseService {
$gold = $gold * ($totalCompute / ($totalCompute + $computeParam) * $computeMaxEffect + 1); $gold = $gold * ($totalCompute / ($totalCompute + $computeParam) * $computeMaxEffect + 1);
$compute = ($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( error_log("BattleGoldRecord:".json_encode(array(
// 'goldLootIndex' => $rewardMeta['goldLoot'], 'goldLootIndex' => $rewardMeta['goldLoot'],
'map_mode' => $this->mapMode, 'map_mode' => $this->mapMode,
// '*baseGold*' => $baseGold, '*baseGold*' => $baseGold,
// 'teamRank' => $teamRank, 'teamRank' => $teamRank,
// '*ranking*' => isset($coefficient) ? $coefficient : '空', '*ranking*' => isset($coefficient) ? $coefficient : '空',
// 'battleScore' => $battleScore, 'battleScore' => $battleScore,
// 'realUserCount' => $this->realUserCount, 'realUserCount' => $this->realUserCount,
// 'teamScoreTotal' => $teamScore, 'teamScoreTotal' => $teamScore,
// 'teamScoreAvg' => $teamScoreAvg, 'teamScoreAvg' => $teamScoreAvg,
// '*score*' => '=========', '*score*' => '=========',
// 'wealthK' => $wealthK, 'wealthK' => $wealthK,
// 'wealthE' => $wealthE, 'wealthE' => $wealthE,
// 'wealthValue' => Hero::getHeroWealth($heroDb), 'wealthValue' => Hero::getHeroWealth($heroDb),
// '*wealth*' => (1 + $wealthE * (Hero::getHeroWealth($heroDb) / (Hero::getHeroWealth($heroDb) + $wealthK))), '*wealth*' => (1 + $wealthE * (Hero::getHeroWealth($heroDb) / (Hero::getHeroWealth($heroDb) + $wealthK))),
// 'lastCompute' => isset($lastCompute) ? $lastCompute : '空', 'lastCompute' => isset($lastCompute) ? $lastCompute : '空',
// 'currentCompute' => isset($currentCompute) ? $currentCompute : '空', 'currentCompute' => isset($currentCompute) ? $currentCompute : '空',
// '*compute*' => isset($compute) ? $compute : '算力系统关闭', '*compute*' => isset($compute) ? $compute : '算力系统关闭',
'goldTimes' => $goldModeTimes, 'finalGold' => floor($gold)
'gold' => floor($gold),
'dny_gold' => myself()->_getDailyV(TN_DAILY_GATHER_GOLD,0),
))); )));
} }
if ($gold > 0){ if ($gold > 0){