天赋升级Ok

This commit is contained in:
aozhiwei 2021-11-29 17:05:33 +08:00
parent 1d87b368e3
commit d4aa7d5061

View File

@ -71,11 +71,11 @@ class GunController extends BaseAuthedController {
$this->_rspErr(2, '已满级');
return;
}
/*$ormUserInfo = $this->_getOrmUserInfo();
$ormUserInfo = $this->_getOrmUserInfo();
if ($ormUserInfo['level'] < $growMeta['need_user_level']) {
$this->_rspErr(3, '用户等级未到达');
return;
}*/
}
$costList = mt\GunTalentGrow::getCostList($growMeta);
$lackItem = array();
if (!$this->_hasEnoughItems($costList, $lackItem)) {