This commit is contained in:
aozhiwei 2023-07-18 13:22:17 +08:00
parent 7e9682b017
commit 38292730ae

View File

@ -350,7 +350,7 @@ class HeroController extends BaseAuthedController {
'hero_lv' => $heroDb['hero_lv'] + 1, 'hero_lv' => $heroDb['hero_lv'] + 1,
'rand_attr' => json_encode($attrs['rand_attr']), 'rand_attr' => json_encode($attrs['rand_attr']),
'base_attr' => json_encode($attrs['base_attr']), 'base_attr' => json_encode($attrs['base_attr']),
'state' => Hero::GETED_STATE, //'state' => Hero::GETED_STATE,
)); ));
if ($heroDb['hero_lv'] + 1 > myself()->_getV(TN_HERO_MAX_LEVEL, 0)) { if ($heroDb['hero_lv'] + 1 > myself()->_getV(TN_HERO_MAX_LEVEL, 0)) {