神将回退卸下魂印bug

back_recharge
jiahuiwen 2021-12-27 16:55:11 +08:00 committed by duhui
parent 70ce7e3446
commit 454388b731
1 changed files with 8 additions and 3 deletions

View File

@ -4083,9 +4083,14 @@ public class HeroLogic {
Map<Integer, Integer> hunying = null;
if (!soulEquipByPositionMap.isEmpty()) {
hunying = new HashMap<>(soulEquipByPositionMap.size());
}
for (Integer value : soulEquipByPositionMap.values()) {
hunying.put(value, 1);
Set<Integer> unload = new HashSet<>(soulEquipByPositionMap.size());
for (Map.Entry<Integer, Integer> entry : soulEquipByPositionMap.entrySet()) {
hunying.put(entry.getValue(), 1);
unload.add(entry.getKey());
}
for (Integer integer : unload) {
hero.removeSoulEquip(integer);
}
}
for (int[] ints : returnPercent) {
for (int i = 1; i < ints.length; i++) {