选择跳转bug

back_recharge
jiahuiwen 2019-03-19 19:57:34 +08:00
parent 73ae2a9bf4
commit 774828dcc9
1 changed files with 6 additions and 0 deletions

View File

@ -480,6 +480,8 @@ public class MapLogic {
}
if (flags.size() > 0 && flags.size() >= rand) {
nextEventId = jumpTypeValues[0][0];
} else {
nextEventId = jumpTypeValues[0][1];
}
} else {
Set<Integer> flags = new HashSet<>();
@ -497,6 +499,8 @@ public class MapLogic {
}
if (flags.size() > 0) {
nextEventId = jumpTypeValues[0][0];
} else {
nextEventId = jumpTypeValues[0][1];
}
}
break;
@ -511,6 +515,8 @@ public class MapLogic {
boolean b = ItemUtil.checkCost(user, itemMap);
if (b) {
nextEventId = jumpTypeValues[0][0];
} else {
nextEventId = jumpTypeValues[0][1];
}
break;
}