1
This commit is contained in:
parent
f482467242
commit
6bce4811b2
@ -172,6 +172,8 @@ class HeroController extends BaseAuthedController {
|
||||
$currLevelMeta = mt\HeroLevel::getByLevel($heroDb['hero_lv']);
|
||||
if ($currLevelMeta) {
|
||||
$nextLevelMeta = mt\HeroLevel::getByLevel($heroDb['hero_lv'] + 1);
|
||||
$attrs = $heroDto['attr'];
|
||||
mt\HeroLevelAttr::addRandAttr($heroDb['hero_lv'] + 1, $attrs);
|
||||
if ($nextLevelMeta) {
|
||||
Hero::update($heroUniId,
|
||||
array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user