From 3667a883dc45535f1f01c2b4ca116a3e0b015e2d Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 19 Sep 2022 11:58:36 +0800 Subject: [PATCH] 1 --- webapp/services/BattleDataService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/services/BattleDataService.php b/webapp/services/BattleDataService.php index a5b89c0e..3a59a875 100644 --- a/webapp/services/BattleDataService.php +++ b/webapp/services/BattleDataService.php @@ -105,6 +105,7 @@ class BattleDataService extends BaseService { $this->updatePvpData(); $this->rewardCegPvp(); $this->rewardFragmentPvp(); + $this->_incDailyV(TN_DAILY_PVP_BATTLE_TIMES, 1); } break; case 1: @@ -120,6 +121,7 @@ class BattleDataService extends BaseService { $this->pveGeminiMetaMode) { $this->rewardCegPve(); $this->rewardFragmentPve(); + $this->_incDailyV(TN_DAILY_PVE_BATTLE_TIMES, 1); } } break; @@ -514,7 +516,6 @@ class BattleDataService extends BaseService { $todayPveGetFragmentNum = $this->_getDailyV(TN_DAILY_PVE_GET_FRAGMENT_NUM, 0); $todayPvpGetFragmentNum = $this->_getDailyV(TN_DAILY_PVP_GET_FRAGMENT_NUM, 0); - $this->_incDailyV(TN_DAILY_PVE_BATTLE_TIMES, 1); if ($todayPveGetFragmentNum + $todayPvpGetFragmentNum > 2) { return; }