多余更新特权 删除

back_recharge
lvxinran 2020-01-06 14:11:01 +08:00
parent bcde683628
commit 569ce11b46
3 changed files with 1 additions and 5 deletions

View File

@ -2693,7 +2693,6 @@ public class MapLogic {
if( !PlayerLogic.getInstance().check(user,VipPrivilegeType.TOWER_RESRT_NUM, 1)){
throw new ErrorCodeException(ErrorCode.newDefineCode("无重置次数"));
}
playerInfoManager.updateVipPrivilage(VipPrivilegeType.TOWER_RESRT_NUM,1);
mapManager.setTower(MathUtils.resetMethod(mapManager.getHighestTower()));
mapManager.setFightCount(0);
mapManager.setEssenceValue(0);

View File

@ -679,10 +679,7 @@ public class ActivityLogic implements IEventHandler{
if (!enough) {
throw new ErrorCodeException(ErrorCode.ITEM_NOT_ENOUGH);
}
} else {
user.getPlayerInfoManager().updateVipPrivilage(VipPrivilegeType.FREE_SECRET_RANDOM, 1);
}
int count = secretBoxManager.getCount();
int[][] randDrop = new int[randCount][];
for (int i = 1; i <= randCount; i++) {

View File

@ -565,7 +565,7 @@ public class StoreLogic {
if (!result){
throw new ErrorCodeException(ErrorCode.ITEM_NOT_ENOUGH);
}
playerInfoManager.updateVipPrivilage(refreshPrivilege,1);
// playerInfoManager.updateVipPrivilage(refreshPrivilege,1);
Map<Integer, Integer> itemNumMap = getStoreItem(sStoreTypeConfig.getId(),sStoreTypeConfig,user);
storeInfo.setItemNumMap(itemNumMap);
CommonProto.StoreInfo.Builder storeBuilder = getBuilder(storeInfo);