1
This commit is contained in:
parent
ca8d52bd51
commit
9998bc999f
@ -805,8 +805,8 @@ class MissionService extends BaseService {
|
||||
myself()->_rspErr(1, 'mission_id parameter error3');
|
||||
return;
|
||||
}
|
||||
if (myself()->_getItemCount(V_ITEM_DIAMOND, $this->userInfo) < $missionMeta['boost']){
|
||||
myself()->_rspErr(2, 'diamond not enough');
|
||||
if (myself()->_getItemCount(V_ITEM_GOLD, $this->userInfo) < $missionMeta['boost']){
|
||||
myself()->_rspErr(2, 'ceg not enough');
|
||||
return;
|
||||
}
|
||||
myself()->_decItems(array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user