1
This commit is contained in:
parent
55f70f26ba
commit
aca2f47664
@ -479,25 +479,26 @@ class BagController extends BaseAuthedController {
|
|||||||
'lang_key' => $itemMeta['name'],
|
'lang_key' => $itemMeta['name'],
|
||||||
'lang_params' => array(),
|
'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){
|
if ($itemMeta['id'] == V_ITEM_BCEG){
|
||||||
array_push($elements, array(
|
array_push($elements, array(
|
||||||
'ele_type' => 1,
|
'ele_type' => 1,
|
||||||
'color' => '#ff3f3f',
|
'color' => '#ff3f3f',
|
||||||
'text' => $awardNum,
|
'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);
|
$this->_send($elements);
|
||||||
}elseif($itemMeta['id'] == 901004){
|
}elseif($itemMeta['id'] == 901004){
|
||||||
$this->_send($elements);
|
$this->_send($elements);
|
||||||
|
|
||||||
}elseif($itemMeta['type'] == \mt\Item::APPOINT_PROP_TYPE && $itemMeta['sub_type'] == \mt\Item::APPOINT_HERO_SUBTYPE){
|
}elseif($itemMeta['type'] == \mt\Item::APPOINT_PROP_TYPE && $itemMeta['sub_type'] == \mt\Item::APPOINT_HERO_SUBTYPE){
|
||||||
$this->_send($elements);
|
$this->_send($elements);
|
||||||
|
|
||||||
}elseif($itemMeta['type'] == \mt\Item::APPOINT_PROP_TYPE && $itemMeta['sub_type'] == \mt\Item::APPOINT_CHIP_SUBTYPE && $itemMeta['quality'] > 3){
|
}elseif($itemMeta['type'] == \mt\Item::APPOINT_PROP_TYPE && $itemMeta['sub_type'] == \mt\Item::APPOINT_CHIP_SUBTYPE && $itemMeta['quality'] > 3){
|
||||||
$this->_send($elements);
|
$this->_send($elements);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user