mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Update ExpansionSet.java
This commit is contained in:
parent
17cd5792d4
commit
da383dbecc
1 changed files with 7 additions and 6 deletions
|
|
@ -231,7 +231,14 @@ public abstract class ExpansionSet implements Serializable {
|
|||
return booster;
|
||||
}
|
||||
}
|
||||
|
||||
//Battlebond packs alway contain both partners
|
||||
if (hasPartnerMechanic){
|
||||
booster = createPartnerBooster();
|
||||
return booster;
|
||||
}
|
||||
return tryBooster();
|
||||
|
||||
}
|
||||
|
||||
protected boolean boosterIsValid(List<Card> booster) {
|
||||
|
|
@ -284,12 +291,6 @@ public abstract class ExpansionSet implements Serializable {
|
|||
}
|
||||
}
|
||||
}
|
||||
//Battlebond packs alway contain both partners
|
||||
if (hasPartnerMechanic){
|
||||
booster = createPartnerBooster();
|
||||
return booster;
|
||||
}
|
||||
return tryBooster();
|
||||
|
||||
// check that all colors are present
|
||||
if (magicColors.stream().anyMatch(color -> colorWeight.get(color) < 60)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue