mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
updated WAR booster checking to guarantee exactly one walker in every pack
This commit is contained in:
parent
6244db99f8
commit
53fbe7e502
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ public abstract class ExpansionSet implements Serializable {
|
|||
return booster.stream().anyMatch(card -> card.isLegendary() && card.isCreature());
|
||||
}
|
||||
if (needsPlaneswalker) {
|
||||
return booster.stream().anyMatch(card -> card.isPlaneswalker());
|
||||
return booster.stream().filter(card -> card.isPlaneswalker()).count() == 1;
|
||||
}
|
||||
|
||||
// TODO: add partner check
|
||||
|
|
Loading…
Reference in a new issue