mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- 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:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user