Merge branch 'master_test_gn_zf' into master_test_gn

back_recharge
jiahuiwen 2021-12-27 17:00:18 +08:00
commit 811d67c536
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++) {