1
This commit is contained in:
parent
33edd46334
commit
357354de18
@ -536,6 +536,14 @@ class HeroController extends BaseAuthedController {
|
||||
$this->_rspErr(5, "It's already the highest level2");
|
||||
return;
|
||||
}
|
||||
$newHeroDb = $heroDb;
|
||||
$newHeroDb['quality'] += 1;
|
||||
$heroDto = Hero::toDto($heroDb);
|
||||
$newHeroDto = Hero::toDto($newHeroDb);
|
||||
$this->_rspData(array(
|
||||
'old_hero' => $heroDto,
|
||||
'new_hero' => $newHeroDto
|
||||
));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user