1
This commit is contained in:
parent
c5b41769ed
commit
5f79a35fa8
@ -266,6 +266,10 @@ class HeroController extends BaseAuthedController {
|
|||||||
);
|
);
|
||||||
$newHeroDb = Hero::find($heroUniId);
|
$newHeroDb = Hero::find($heroUniId);
|
||||||
$newHero = Hero::toDto($newHeroDb);
|
$newHero = Hero::toDto($newHeroDb);
|
||||||
|
error_log(json_encode(array(
|
||||||
|
'costHeroUniId' => $costHeroUniId,
|
||||||
|
'heroUniId' => $heroUniId
|
||||||
|
)));
|
||||||
$rankActivityService = new services\RankActivityService();
|
$rankActivityService = new services\RankActivityService();
|
||||||
$rankActivityService->heroUpgradeLevel($heroDb['quality'] + 1);
|
$rankActivityService->heroUpgradeLevel($heroDb['quality'] + 1);
|
||||||
}
|
}
|
||||||
|
@ -160,9 +160,9 @@ class Hero extends BaseModel {
|
|||||||
if ($qualityMeta) {
|
if ($qualityMeta) {
|
||||||
$speed *= (1 + $qualityMeta['promote'] / 100.0);
|
$speed *= (1 + $qualityMeta['promote'] / 100.0);
|
||||||
}
|
}
|
||||||
if ($qualityMeta) {
|
/*if ($qualityMeta) {
|
||||||
$speed *= (1 + $qualityMeta['promote'] / 100.0);
|
$speed *= (1 + $qualityMeta['promote'] / 100.0);
|
||||||
}
|
}*/
|
||||||
if ($qualityMeta) {
|
if ($qualityMeta) {
|
||||||
$atk *= (1 + $qualityMeta['promote'] / 100.0);
|
$atk *= (1 + $qualityMeta['promote'] / 100.0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user