diff --git a/webapp/controller/BagController.class.php b/webapp/controller/BagController.class.php index b96bb73f..5a647b22 100644 --- a/webapp/controller/BagController.class.php +++ b/webapp/controller/BagController.class.php @@ -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 diff --git a/webapp/services/RoomBattleDataService.php b/webapp/services/RoomBattleDataService.php index 03ecb0e0..59df6fca 100644 --- a/webapp/services/RoomBattleDataService.php +++ b/webapp/services/RoomBattleDataService.php @@ -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); }