1
This commit is contained in:
parent
778e512bf4
commit
1c05555067
@ -444,7 +444,9 @@ class BagController extends BaseAuthedController {
|
||||
$this->_addItems($hashItems,$this->awardService,$this->propertyChgService);
|
||||
$this->propertyChgService->addBagChg();
|
||||
$event = array(
|
||||
'ID' => 'OpenBox',
|
||||
'ID' => 'Box',
|
||||
'SUB_ID' => 'open',
|
||||
'SUB_KEY' => 'open_box',
|
||||
'boxInfo' => array(
|
||||
'item_id' => $itemMeta['id'],
|
||||
'item_num' => $itemNum
|
||||
|
@ -279,6 +279,13 @@ class RoomBattleDataService extends BaseService {
|
||||
$rnd = rand(1,100);
|
||||
if ($rnd <= $rand){
|
||||
$chestItems = LootService::dropOutItem($rewardMeta['chestLoot']);
|
||||
$event = array(
|
||||
'ID' => 'Box',
|
||||
'SUB_ID' => 'drop',
|
||||
'SUB_KEY' => 'drop_box',
|
||||
'result' => $chestItems,
|
||||
);
|
||||
LogService::burialPointEvent($event);
|
||||
foreach ($chestItems as $item){
|
||||
array_push($reward,$item);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user