Merge branch 'james_bc' of git.kingsome.cn:server/game2006api into james_bc
This commit is contained in:
commit
4e3ecf8d4b
@ -33,14 +33,14 @@ class FragmentController extends BaseAuthedController
|
|||||||
switch ($type) {
|
switch ($type) {
|
||||||
case 1:
|
case 1:
|
||||||
{
|
{
|
||||||
$itemMetaList = mt\Item::getMetaListByType(mt\Item::HERO_TYPE);
|
// $itemMetaList = mt\Item::getMetaListByType(mt\Item::HERO_TYPE);
|
||||||
$hero = array();
|
// $hero = array();
|
||||||
foreach ($itemMetaList as $meta){
|
// foreach ($itemMetaList as $meta){
|
||||||
array_push($hero,$meta['id']);
|
// array_push($hero,$meta['id']);
|
||||||
}
|
// }
|
||||||
// $mint = strval(\services\FormulaService::Hero_Parts_Synthetic_Cost());
|
|
||||||
$meta = mt\Parameter::getByName('jigsaw_merge_h_price');
|
$meta = mt\Parameter::getByName('jigsaw_merge_h_price');
|
||||||
$mint = $meta ? $meta['param_value'] : 100;
|
$mint = $meta ? $meta['param_value'] : 100;
|
||||||
|
$hero = array(30700,30900,31000);
|
||||||
$this->_rspData(array(
|
$this->_rspData(array(
|
||||||
'list' => $hero,
|
'list' => $hero,
|
||||||
'mint' => $mint
|
'mint' => $mint
|
||||||
|
Loading…
x
Reference in New Issue
Block a user