This commit is contained in:
hujiabin 2024-08-18 17:19:25 +08:00
parent 55f70f26ba
commit aca2f47664

View File

@ -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);
}