神将回退卸下魂印bug
parent
6faac1d034
commit
7ebd8878de
|
@ -4072,9 +4072,14 @@ public class HeroLogic {
|
||||||
Map<Integer, Integer> hunying = null;
|
Map<Integer, Integer> hunying = null;
|
||||||
if (!soulEquipByPositionMap.isEmpty()) {
|
if (!soulEquipByPositionMap.isEmpty()) {
|
||||||
hunying = new HashMap<>(soulEquipByPositionMap.size());
|
hunying = new HashMap<>(soulEquipByPositionMap.size());
|
||||||
}
|
Set<Integer> unload = new HashSet<>(soulEquipByPositionMap.size());
|
||||||
for (Integer value : soulEquipByPositionMap.values()) {
|
for (Map.Entry<Integer, Integer> entry : soulEquipByPositionMap.entrySet()) {
|
||||||
hunying.put(value, 1);
|
hunying.put(entry.getValue(), 1);
|
||||||
|
unload.add(entry.getKey());
|
||||||
|
}
|
||||||
|
for (Integer integer : unload) {
|
||||||
|
hero.removeSoulEquip(integer);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for (int[] ints : returnPercent) {
|
for (int[] ints : returnPercent) {
|
||||||
for (int i = 1; i < ints.length; i++) {
|
for (int i = 1; i < ints.length; i++) {
|
||||||
|
|
Loading…
Reference in New Issue