删除vip特权 秘盒

back_recharge
wangyuan 2019-06-05 11:22:33 +08:00
parent 25af037afd
commit 0699b42f27
1 changed files with 5 additions and 5 deletions

View File

@ -340,20 +340,20 @@ public class ActivityLogic {
}
boolean allowedFree = false;
/* boolean allowedFree = false;
if(randCount == 1){
allowedFree=user.getPlayerInfoManager().check(VipPrivilegeType.FREE_SECRET_RANDOM,1);
}
if(!allowedFree){
}*/
// if(!allowedFree){
int[][] mainCost = sDifferDemonsBoxSetting.getMainCost();
boolean enough = ItemUtil.itemCost(user, mainCost);
if(!enough){
MessageUtil.sendErrorResponse(session,0,MessageTypeProto.MessageType.SECRETBOX_RANDOM_RESPONSE_VALUE,"道具不足");
return;
}
}else{
/* }else{
user.getPlayerInfoManager().updateVipPrivilage(VipPrivilegeType.FREE_SECRET_RANDOM,1);
}
}*/
int count = secretBoxManager.getCount();
int[][] randDrop = new int[randCount][];