This commit is contained in:
aozhiwei 2022-09-19 13:15:03 +08:00
parent fe7d51812e
commit b3fe7f6242

View File

@ -102,13 +102,10 @@ class BattleDataService extends BaseService {
case 0: case 0:
{ {
//匹配赛模式 //匹配赛模式
try { $this->updatePvpData();
$this->updatePvpData(); $this->rewardCegPvp();
$this->rewardCegPvp(); $this->rewardFragmentPvp();
$this->rewardFragmentPvp(); $this->_incDailyV(TN_DAILY_PVP_BATTLE_TIMES, 1);
} finally {
$this->_incDailyV(TN_DAILY_PVP_BATTLE_TIMES, 1);
}
} }
break; break;
case 1: case 1:
@ -119,16 +116,13 @@ class BattleDataService extends BaseService {
case 2: case 2:
{ {
//pve //pve
try { $this>updatePveData();
$this>updatePveData(); if ($this->pveGeminiMeta &&
if ($this->pveGeminiMeta && $this->pveGeminiMetaMode) {
$this->pveGeminiMetaMode) { $this->rewardCegPve();
$this->rewardCegPve(); $this->rewardFragmentPve();
$this->rewardFragmentPve();
}
} finally {
$this->_incDailyV(TN_DAILY_PVE_BATTLE_TIMES, 1);
} }
$this->_incDailyV(TN_DAILY_PVE_BATTLE_TIMES, 1);
} }
break; break;
default: default: