1
This commit is contained in:
parent
a8f9998897
commit
1848e7ec3a
@ -55,6 +55,7 @@ class HeroController extends BaseAuthedController {
|
|||||||
array_push($chipAttr,$v);
|
array_push($chipAttr,$v);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$hero['rand_attr'] = $chipAttr;
|
||||||
$hero_attr = emptyReplace(json_decode($hero['attr'], true), array());
|
$hero_attr = emptyReplace(json_decode($hero['attr'], true), array());
|
||||||
\mt\AttrHelper::mergeAttr($hero_attr,$chipAttr);
|
\mt\AttrHelper::mergeAttr($hero_attr,$chipAttr);
|
||||||
$hero['attr'] = $hero_attr;
|
$hero['attr'] = $hero_attr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user