diff --git a/webapp/controller/BagController.class.php b/webapp/controller/BagController.class.php index b0369344..1f8063eb 100644 --- a/webapp/controller/BagController.class.php +++ b/webapp/controller/BagController.class.php @@ -479,25 +479,26 @@ class BagController extends BaseAuthedController { 'lang_key' => $itemMeta['name'], 'lang_params' => array(), )); - array_push($elements, array( - 'ele_type' => 2, - 'color' => '#ffffff', - 'lang_key' => 'Marquee_rewards_get_3', - 'lang_params' => array(), - )); if ($itemMeta['id'] == V_ITEM_BCEG){ array_push($elements, array( 'ele_type' => 1, 'color' => '#ff3f3f', 'text' => $awardNum, )); + } + array_push($elements, array( + 'ele_type' => 2, + 'color' => '#ffffff', + 'lang_key' => 'Marquee_rewards_get_3', + 'lang_params' => array(), + )); + + if ($itemMeta['id'] == V_ITEM_BCEG){ $this->_send($elements); }elseif($itemMeta['id'] == 901004){ $this->_send($elements); - }elseif($itemMeta['type'] == \mt\Item::APPOINT_PROP_TYPE && $itemMeta['sub_type'] == \mt\Item::APPOINT_HERO_SUBTYPE){ $this->_send($elements); - }elseif($itemMeta['type'] == \mt\Item::APPOINT_PROP_TYPE && $itemMeta['sub_type'] == \mt\Item::APPOINT_CHIP_SUBTYPE && $itemMeta['quality'] > 3){ $this->_send($elements); }