1
This commit is contained in:
parent
8aa43736e5
commit
4adc3539cd
@ -32,8 +32,9 @@ define('TN_DAILY_RECHARGE_UPGRADE_TIMES', 9004);
|
||||
define('TN_DAILY_SHARE_GAMES', 9005);
|
||||
define('TN_DAILY_PVE_BATTLE_TIMES', 9006);
|
||||
define('TN_DAILY_PVE_GET_FRAGMENT_NUM', 9007);
|
||||
define('TN_DAILY_PVP_GET_FRAGMENT_NUM', 9008);
|
||||
define('TN_DAILY_END', 9008);
|
||||
define('TN_DAILY_PVP_BATTLE_TIMES', 9008);
|
||||
define('TN_DAILY_PVP_GET_FRAGMENT_NUM', 9009);
|
||||
define('TN_DAILY_END', 9009);
|
||||
|
||||
define('TN_WEEKLY_BEGIN', 10001);
|
||||
define('TN_WEEKLY_ACTIVE', 10002);
|
||||
|
@ -460,7 +460,16 @@ class BattleDataService extends BaseService {
|
||||
|
||||
private function rewardFragmentPvp()
|
||||
{
|
||||
$todayPvpBattleTimes = $this->_getDailyV(TN_DAILY_PVP_BATTLE_TIMES, 0);
|
||||
$todayPveGetFragmentNum = $this->_getDailyV(TN_DAILY_PVE_GET_FRAGMENT_NUM, 0);
|
||||
$todayPvpGetFragmentNum = $this->_getDailyV(TN_DAILY_PVP_GET_FRAGMENT_NUM, 0);
|
||||
|
||||
$this->_incDailyV(TN_DAILY_PVP_BATTLE_TIMES, 1);
|
||||
if ($todayPveGetFragmentNum + $todayPvpGetFragmentNum > 2) {
|
||||
return;
|
||||
}
|
||||
|
||||
$onlineNum = $this->getOnlineNumber();
|
||||
}
|
||||
|
||||
private function rewardFragmentPve()
|
||||
|
Loading…
x
Reference in New Issue
Block a user