mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
Fix Dark Ascension packs not having DFCs and Shadows wrong common:uncommon DFC ratio (#8083)
* Update ShadowsOverInnistrad.java * Update DarkAscension.java
This commit is contained in:
parent
810e1babd5
commit
1ac33efd1b
2 changed files with 4 additions and 2 deletions
|
|
@ -26,6 +26,7 @@ public final class DarkAscension extends ExpansionSet {
|
|||
this.numBoosterUncommon = 3;
|
||||
this.numBoosterRare = 1;
|
||||
this.ratioBoosterMythic = 8;
|
||||
this.numBoosterDoubleFaced = 1;
|
||||
this.parentSet = Innistrad.getInstance();
|
||||
this.hasBasicLands = false;
|
||||
cards.add(new SetCardInfo("Afflicted Deserter", 81, Rarity.UNCOMMON, mage.cards.a.AfflictedDeserter.class));
|
||||
|
|
|
|||
|
|
@ -379,15 +379,16 @@ public final class ShadowsOverInnistrad extends ExpansionSet {
|
|||
|
||||
/* add double faced card for SOI booster
|
||||
* add only common or uncommon
|
||||
80/120 packs contain one of 20 uncommon DFCs and 40/120 packs contain one of 4 common DFCs
|
||||
*/
|
||||
@Override
|
||||
public void addDoubleFace(List<Card> booster) {
|
||||
for (int i = 0; i < numBoosterDoubleFaced; i++) {
|
||||
List<CardInfo> doubleFacedCards;
|
||||
if (RandomUtil.nextInt(15) < 10) {
|
||||
doubleFacedCards = getDoubleFacedCardsByRarity(Rarity.COMMON);
|
||||
} else {
|
||||
doubleFacedCards = getDoubleFacedCardsByRarity(Rarity.UNCOMMON);
|
||||
} else {
|
||||
doubleFacedCards = getDoubleFacedCardsByRarity(Rarity.COMMON);
|
||||
}
|
||||
addToBooster(booster, doubleFacedCards);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue