forked from External/mage
Reworking card types in preparation for implementing Grist, the Hunger Tide (#7899)
Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
This commit is contained in:
parent
07e1dff10c
commit
572104b8fc
1159 changed files with 2704 additions and 2203 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package mage.cards;
|
||||
|
||||
import mage.MageObject;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.keyword.PartnerWithAbility;
|
||||
|
|
@ -313,7 +314,7 @@ public abstract class ExpansionSet implements Serializable {
|
|||
return booster.stream().anyMatch(card -> card.isLegendary() && card.isCreature());
|
||||
}
|
||||
if (needsPlaneswalker) {
|
||||
return booster.stream().filter(card -> card.isPlaneswalker()).count() == 1;
|
||||
return booster.stream().filter(MageObject::isPlaneswalker).count() == 1;
|
||||
}
|
||||
|
||||
// TODO: add partner check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue