1
This commit is contained in:
parent
3a8b989fb4
commit
37c759ac4a
@ -532,7 +532,27 @@ class BattleDataService extends BaseService {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if ($dropIdx == 0) {
|
||||
$itemId = FragmentPool::dropHero();
|
||||
if ($itemId) {
|
||||
array_push($this->reward['items'],
|
||||
array(
|
||||
'item_id' => $itemId,
|
||||
'item_num' => 1
|
||||
));
|
||||
$this->_incDailyV(TN_DAILY_PVP_GET_FRAGMENT_NUM, 1);
|
||||
}
|
||||
} else if ($dropIdx == 1) {
|
||||
$itemId = FragmentPool::dropGun();
|
||||
if ($itemId) {
|
||||
array_push($this->reward['items'],
|
||||
array(
|
||||
'item_id' => $itemId,
|
||||
'item_num' => 1
|
||||
));
|
||||
$this->_incDailyV(TN_DAILY_PVP_GET_FRAGMENT_NUM, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private function rewardFragmentPve()
|
||||
@ -569,6 +589,28 @@ class BattleDataService extends BaseService {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($dropIdx == 0) {
|
||||
$itemId = FragmentPool::dropHero();
|
||||
if ($itemId) {
|
||||
array_push($this->reward['items'],
|
||||
array(
|
||||
'item_id' => $itemId,
|
||||
'item_num' => 1
|
||||
));
|
||||
$this->_incDailyV(TN_DAILY_PVE_GET_FRAGMENT_NUM, 1);
|
||||
}
|
||||
} else if ($dropIdx == 1) {
|
||||
$itemId = FragmentPool::dropGun();
|
||||
if ($itemId) {
|
||||
array_push($this->reward['items'],
|
||||
array(
|
||||
'item_id' => $itemId,
|
||||
'item_num' => 1
|
||||
));
|
||||
$this->_incDailyV(TN_DAILY_PVE_GET_FRAGMENT_NUM, 1);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private function rewardCegPvp()
|
||||
|
Loading…
x
Reference in New Issue
Block a user