q
This commit is contained in:
parent
c6a52107ba
commit
c5b41769ed
@ -215,9 +215,9 @@ class HeroController extends BaseAuthedController {
|
|||||||
$this->_rspErr(1, 'hero does not exist');
|
$this->_rspErr(1, 'hero does not exist');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$costHeroUniId = $this->_getV(TN_HERO_QUALITY_UP, (int)$idx * 100);
|
$costHeroUniId = $this->_getV(TN_HERO_QUALITY_UP, (int)$idx + 1000);
|
||||||
$this->_setV(TN_HERO_QUALITY_UP, $idx, 0);
|
$this->_setV(TN_HERO_QUALITY_UP, $idx, 0);
|
||||||
$this->_setV(TN_HERO_QUALITY_UP, (int)$idx * 100, 0);
|
$this->_setV(TN_HERO_QUALITY_UP, (int)$idx + 1000, 0);
|
||||||
$propertyChgService = new services\PropertyChgService();
|
$propertyChgService = new services\PropertyChgService();
|
||||||
$propertyChgService->addHeroChg();
|
$propertyChgService->addHeroChg();
|
||||||
$propertyChgService->addBagChg();
|
$propertyChgService->addBagChg();
|
||||||
@ -523,7 +523,7 @@ class HeroController extends BaseAuthedController {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->_setV(TN_HERO_QUALITY_UP, (int)$slotId, (int)$heroDb['idx']);
|
$this->_setV(TN_HERO_QUALITY_UP, (int)$slotId, (int)$heroDb['idx']);
|
||||||
$this->_setV(TN_HERO_QUALITY_UP, (int)$slotId * 100, (int)$costHeroDb['idx']);
|
$this->_setV(TN_HERO_QUALITY_UP, (int)$slotId + 1000, (int)$costHeroDb['idx']);
|
||||||
$propertyChgService = new services\PropertyChgService();
|
$propertyChgService = new services\PropertyChgService();
|
||||||
$propertyChgService->addHeroChg();
|
$propertyChgService->addHeroChg();
|
||||||
$propertyChgService->addBagChg();
|
$propertyChgService->addBagChg();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user