1
This commit is contained in:
parent
edfc0bc88f
commit
4fe4bb08fb
@ -234,7 +234,20 @@ class HeroController extends BaseAuthedController {
|
||||
return;
|
||||
}
|
||||
$this->_decItems($costItems);
|
||||
$this->_setV(TN_HERO_LEVEL_UP, $slotId, $heroDb['idx']);
|
||||
error_log(json_encode(
|
||||
array(
|
||||
'slotId' => $slotId,
|
||||
'heroIdx' => $heroDb['idx']
|
||||
)
|
||||
));
|
||||
$this->_setV(TN_HERO_LEVEL_UP, (int)$slotId, (int)$heroDb['idx']);
|
||||
$propertyChgService = new services\PropertyChgService();
|
||||
$propertyChgService->addHeroChg();
|
||||
$propertyChgService->addBagChg();
|
||||
$propertyChgService->addUserChg();
|
||||
$this->_rspData(array(
|
||||
'property_chg' => $propertyChgService->toDto(),
|
||||
));
|
||||
}
|
||||
|
||||
public function upgradeQuality()
|
||||
|
Loading…
x
Reference in New Issue
Block a user