- In Planar Conquest, if all the planes are unlocked, the green reward will be a Chaos Battle instead of 5 planeswalker emblems.

- Documenting recent changes in CHANGES.txt, moved some of the older changes over to MANUAL.txt.
This commit is contained in:
Agetian
2017-06-22 05:28:47 +00:00
parent fd4419b9f4
commit a8b401f22c
4 changed files with 39 additions and 10 deletions

View File

@@ -197,6 +197,17 @@ public final class ConquestData {
return planeDataMap.size();
}
public int getAccessiblePlaneCount() {
// TODO: Java 8 stream implementation of filtering
int i = 0;
for (ConquestPlane plane : FModel.getPlanes()) {
if (!plane.isUnreachable()) {
i++;
}
}
return i;
}
public void unlockPlane(ConquestPlane plane) {
if (isPlaneUnlocked(plane)) { return; }