多余更新特权 删除
parent
bcde683628
commit
569ce11b46
|
@ -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);
|
||||
|
|
|
@ -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++) {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue