mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
* Fixed a bug of Fate Reforged booster generation adding wrong rarities.
This commit is contained in:
parent
c95646db8e
commit
d03d65190e
1 changed files with 2 additions and 1 deletions
|
@ -59,7 +59,7 @@ public class FateReforged extends ExpansionSet {
|
|||
this.parentSet = KhansOfTarkir.getInstance();
|
||||
this.hasBasicLands = false;
|
||||
this.hasBoosters = true;
|
||||
this.numBoosterSpecial = 1; // a speical land slot that can contain basic lands (language dependent) the common lands or the rare fetch lands from KTK
|
||||
this.numBoosterSpecial = 1; // a special land slot that can contain basic lands (language dependent) the common lands or the rare fetch lands from KTK
|
||||
this.numBoosterLands = 0;
|
||||
this.numBoosterCommon = 10;
|
||||
this.numBoosterUncommon = 3;
|
||||
|
@ -75,6 +75,7 @@ public class FateReforged extends ExpansionSet {
|
|||
List<CardInfo> savedCardsInfos = savedCards.get(rarity);
|
||||
if (savedCardsInfos == null) {
|
||||
CardCriteria criteria = new CardCriteria();
|
||||
criteria.rarities(Rarity.COMMON);
|
||||
criteria.setCodes(this.code).notTypes(CardType.LAND);
|
||||
if (maxCardNumberInBooster != Integer.MAX_VALUE) {
|
||||
criteria.maxCardNumber(maxCardNumberInBooster);
|
||||
|
|
Loading…
Reference in a new issue