This commit is contained in:
hujiabin 2022-08-26 19:39:02 +08:00
parent a8f9998897
commit 1848e7ec3a

View File

@ -55,6 +55,7 @@ class HeroController extends BaseAuthedController {
array_push($chipAttr,$v);
}
}
$hero['rand_attr'] = $chipAttr;
$hero_attr = emptyReplace(json_decode($hero['attr'], true), array());
\mt\AttrHelper::mergeAttr($hero_attr,$chipAttr);
$hero['attr'] = $hero_attr;