选择跳转bug
parent
73ae2a9bf4
commit
774828dcc9
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue