删除vip特权 秘盒
parent
25af037afd
commit
0699b42f27
|
@ -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][];
|
||||
|
|
Loading…
Reference in New Issue