1
This commit is contained in:
parent
8311c08ae1
commit
a5fdcce984
@ -186,8 +186,8 @@ class HeroController extends BaseAuthedController {
|
||||
'unlock_time' => 0,
|
||||
)
|
||||
);
|
||||
$newHero['hero_lv'] += 1;
|
||||
$newHero['attr'] = $attrs;
|
||||
$newHeroDb = Hero::find($heroUniId);
|
||||
$newHeroDto = Hero::toDto($newHeroDb);
|
||||
$rankActivityService = new services\RankActivityService();
|
||||
$rankActivityService->heroUpgradeLevel($heroDb['hero_lv'] + 1);
|
||||
}
|
||||
@ -249,7 +249,8 @@ class HeroController extends BaseAuthedController {
|
||||
'unlock_time' => 0,
|
||||
)
|
||||
);
|
||||
$newHero['quality'] += 1;
|
||||
$newHeroDb = Hero::find($heroUniId);
|
||||
$newHeroDto = Hero::toDto($newHeroDb);
|
||||
$rankActivityService = new services\RankActivityService();
|
||||
$rankActivityService->heroUpgradeLevel($heroDb['quality'] + 1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user