Merge branch 'master_test_gn_zf' into master_test_gn
commit
811d67c536
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue