Implement new way to generate boosters using box mapping info (WIP) (#7529)

* [THB] added initial common/uncommon collation mechanism

* [THB] added rare/mythic and lands to pack generation

* fixed some card names

* broke out collation into its own separate classes

* built collation into ExpansionSet

* added note about collation information

* [KHM] added collation info

* updated collation to use collector number rather than name

* added shuffle to set constructor

* added some notes on collation methods
This commit is contained in:
Evan Kranzler 2021-02-12 17:35:28 -05:00 committed by GitHub
parent 10e557b873
commit 8a16eda062
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 500 additions and 3 deletions

View file

@ -0,0 +1,27 @@
package mage.collation;
/**
* @author TheElk801
*/
public class RarityConfiguration extends Rotater<BoosterStructure> {
public RarityConfiguration(BoosterStructure item) {
super(item);
}
public RarityConfiguration(BoosterStructure item1, BoosterStructure item2) {
super(item1, item2);
}
public RarityConfiguration(boolean keepOrder, BoosterStructure... items) {
super(keepOrder, items);
}
@Override
public void shuffle() {
for (BoosterStructure structure : this.items) {
structure.shuffle();
}
super.shuffle();
}
}