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