合成bug

back_recharge
zhangshanxue 2020-04-16 16:15:27 +08:00
parent bbd9fe8271
commit ab4d885994
1 changed files with 1 additions and 1 deletions

View File

@ -115,6 +115,7 @@ public class ComplexEquipHandler extends BaseHandler<HeroInfoProto.ComplexEquipR
Map<Integer, Integer> consumeMap = new HashMap<>();
List< CommonProto.Equip> equips = new LinkedList<>();
Set<String> newids = new HashSet<>();
Map<Integer, Integer> consumeMapTem = new HashMap<>();
for (Map.Entry<Integer, Integer> entry : integerIntegerMap.entrySet()) {
//star conf
int targetstar = entry.getKey()+1;
@ -148,7 +149,6 @@ public class ComplexEquipHandler extends BaseHandler<HeroInfoProto.ComplexEquipR
for (int i = 0; i < canConNum; i++) {
int[][] sumConsume = sEquipStarsConfig.getRankupResources();
Map<Integer, Integer> consumeMapTem = new HashMap<>();
HeroLogic.getInstance().combinedAttribute(sumConsume, consumeMapTem);
enough = ItemUtil.checkCost(user, consumeMapTem);
if (!enough) {