diff --git a/webapp/controller/HeroController.class.php b/webapp/controller/HeroController.class.php index 136d5227..baffcff5 100644 --- a/webapp/controller/HeroController.class.php +++ b/webapp/controller/HeroController.class.php @@ -215,9 +215,9 @@ class HeroController extends BaseAuthedController { $this->_rspErr(1, 'hero does not exist'); 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, (int)$idx * 100, 0); + $this->_setV(TN_HERO_QUALITY_UP, (int)$idx + 1000, 0); $propertyChgService = new services\PropertyChgService(); $propertyChgService->addHeroChg(); $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 * 100, (int)$costHeroDb['idx']); + $this->_setV(TN_HERO_QUALITY_UP, (int)$slotId + 1000, (int)$costHeroDb['idx']); $propertyChgService = new services\PropertyChgService(); $propertyChgService->addHeroChg(); $propertyChgService->addBagChg();