1
This commit is contained in:
parent
4fe4bb08fb
commit
ecf7065315
@ -234,13 +234,17 @@ class HeroController extends BaseAuthedController {
|
||||
return;
|
||||
}
|
||||
$this->_decItems($costItems);
|
||||
error_log(json_encode(
|
||||
array(
|
||||
'slotId' => $slotId,
|
||||
'heroIdx' => $heroDb['idx']
|
||||
)
|
||||
));
|
||||
$this->_setV(TN_HERO_LEVEL_UP, (int)$slotId, (int)$heroDb['idx']);
|
||||
{
|
||||
Hero::update(
|
||||
$heroUniId,
|
||||
array(
|
||||
'hero_lv' => $heroDb['hero_lv'] + 1,
|
||||
'lock_type' => Hero::LEVEL_LOCK,
|
||||
'unlock_time' => $this->_getNowTime() + $currLevelMeta['time'],
|
||||
)
|
||||
);
|
||||
}
|
||||
$propertyChgService = new services\PropertyChgService();
|
||||
$propertyChgService->addHeroChg();
|
||||
$propertyChgService->addBagChg();
|
||||
|
Loading…
x
Reference in New Issue
Block a user