关卡限制脚本优化
parent
312ad1cd58
commit
ce6b4d239b
|
@ -2200,6 +2200,9 @@ public class MapLogic {
|
|||
for (Map.Entry<String, Hero> stringHeroEntry : user.getHeroManager().getHeroMap().entrySet()) {
|
||||
if (stringHeroEntry.getValue().getOriginalLevel()>= ints[1]) {
|
||||
num++;
|
||||
if (num >= ints[2]) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (num < ints[2]) {
|
||||
|
|
Loading…
Reference in New Issue