forked from External/mage
Fix Zendikar Expeditions lands in boostes - BFZ booster should contain only expeditions 1-25, OTG only 26-45
This commit is contained in:
parent
b23ddd99a0
commit
37db757c4b
4 changed files with 48 additions and 9 deletions
|
|
@ -156,7 +156,7 @@ public abstract class ExpansionSet implements Serializable {
|
|||
List<CardInfo> specialLands = getSpecialLand();
|
||||
List<CardInfo> basicLands = getCardsByRarity(Rarity.LAND);
|
||||
for (int i = 0; i < numBoosterLands; i++) {
|
||||
if (ratioBoosterSpecialLand > 0 && rnd.nextInt(ratioBoosterSpecialLand) == 1 && specialLands != null) {
|
||||
if (ratioBoosterSpecialLand > 0 && rnd.nextInt(ratioBoosterSpecialLand) == 0 && specialLands != null) {
|
||||
addToBooster(booster, specialLands);
|
||||
} else {
|
||||
addToBooster(booster, basicLands);
|
||||
|
|
@ -174,7 +174,7 @@ public abstract class ExpansionSet implements Serializable {
|
|||
List<CardInfo> rares = getCardsByRarity(Rarity.RARE);
|
||||
List<CardInfo> mythics = getCardsByRarity(Rarity.MYTHIC);
|
||||
for (int i = 0; i < numBoosterRare; i++) {
|
||||
if (ratioBoosterMythic > 0 && rnd.nextInt(ratioBoosterMythic) == 1) {
|
||||
if (ratioBoosterMythic > 0 && rnd.nextInt(ratioBoosterMythic) == 0) {
|
||||
addToBooster(booster, mythics);
|
||||
} else {
|
||||
addToBooster(booster, rares);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue