Enable booster generation for DMR (#10365)

* Simple booster generation for Dominaria Remastered

* Add max card num in booster to 2XM
This commit is contained in:
xenohedron 2023-06-01 14:31:25 +03:00 committed by GitHub
parent bcab8cc2f6
commit eca3c09a91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -17,8 +17,13 @@ public class DominariaRemastered extends ExpansionSet {
private DominariaRemastered() {
super("Dominaria Remastered", "DMR", ExpansionSet.buildDate(2023, 1, 13), SetType.SUPPLEMENTAL);
this.hasBoosters = false; // needs to be configured
this.hasBoosters = true;
this.hasBasicLands = true;
this.maxCardNumberInBooster = 261;
this.numBoosterCommon = 10; // Frame/art variants not yet implemented for booster generation
this.numBoosterUncommon = 3;
this.numBoosterRare = 1;
this.ratioBoosterMythic = 7; // 60 rare, 20 mythic
cards.add(new SetCardInfo("Absorb", 186, Rarity.RARE, mage.cards.a.Absorb.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Absorb", 354, Rarity.RARE, mage.cards.a.Absorb.class, NON_FULL_USE_VARIOUS));

View file

@ -32,6 +32,7 @@ public final class DoubleMasters extends ExpansionSet {
this.numBoosterUncommon = 3;
this.numBoosterRare = 2;
this.ratioBoosterMythic = 8;
this.maxCardNumberInBooster = 332;
cards.add(new SetCardInfo("Abrade", 114, Rarity.COMMON, mage.cards.a.Abrade.class));
cards.add(new SetCardInfo("Academy Ruins", 309, Rarity.RARE, mage.cards.a.AcademyRuins.class, NON_FULL_USE_VARIOUS));