天赋升级Ok
This commit is contained in:
parent
1d87b368e3
commit
d4aa7d5061
@ -71,11 +71,11 @@ class GunController extends BaseAuthedController {
|
|||||||
$this->_rspErr(2, '已满级');
|
$this->_rspErr(2, '已满级');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/*$ormUserInfo = $this->_getOrmUserInfo();
|
$ormUserInfo = $this->_getOrmUserInfo();
|
||||||
if ($ormUserInfo['level'] < $growMeta['need_user_level']) {
|
if ($ormUserInfo['level'] < $growMeta['need_user_level']) {
|
||||||
$this->_rspErr(3, '用户等级未到达');
|
$this->_rspErr(3, '用户等级未到达');
|
||||||
return;
|
return;
|
||||||
}*/
|
}
|
||||||
$costList = mt\GunTalentGrow::getCostList($growMeta);
|
$costList = mt\GunTalentGrow::getCostList($growMeta);
|
||||||
$lackItem = array();
|
$lackItem = array();
|
||||||
if (!$this->_hasEnoughItems($costList, $lackItem)) {
|
if (!$this->_hasEnoughItems($costList, $lackItem)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user