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) {
|
||||
case 1:
|
||||
{
|
||||
$itemMetaList = mt\Item::getMetaListByType(mt\Item::HERO_TYPE);
|
||||
$hero = array();
|
||||
foreach ($itemMetaList as $meta){
|
||||
array_push($hero,$meta['id']);
|
||||
}
|
||||
// $mint = strval(\services\FormulaService::Hero_Parts_Synthetic_Cost());
|
||||
// $itemMetaList = mt\Item::getMetaListByType(mt\Item::HERO_TYPE);
|
||||
// $hero = array();
|
||||
// foreach ($itemMetaList as $meta){
|
||||
// array_push($hero,$meta['id']);
|
||||
// }
|
||||
$meta = mt\Parameter::getByName('jigsaw_merge_h_price');
|
||||
$mint = $meta ? $meta['param_value'] : 100;
|
||||
$hero = array(30700,30900,31000);
|
||||
$this->_rspData(array(
|
||||
'list' => $hero,
|
||||
'mint' => $mint
|
||||
|
Loading…
x
Reference in New Issue
Block a user