Reworking standard legality (#12624)

* rework standard rotation

* add comment

* add flag to previous sets
This commit is contained in:
Evan Kranzler 2024-07-31 14:55:48 -04:00 committed by GitHub
parent 27e7d4432f
commit 8ed3c0c12d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 66 additions and 49 deletions

View file

@ -113,6 +113,7 @@ public abstract class ExpansionSet implements Serializable {
protected boolean hasBasicLands = true;
protected String blockName; // used to group sets in some GUI dialogs like choose set dialog
protected boolean rotationSet = false; // used to determine if a set is a standard rotation
protected boolean hasBoosters = false;
protected int numBoosterSpecial;
@ -505,6 +506,10 @@ public abstract class ExpansionSet implements Serializable {
return hasBasicLands;
}
public boolean isRotationSet() {
return rotationSet;
}
/**
* Keep only unique cards for booster generation and card ratio calculation
*