mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
fixed Izzet Chemister targeting any card in a graveyard
This commit is contained in:
parent
63ac95eaee
commit
01764998d9
1 changed files with 9 additions and 0 deletions
|
@ -48,6 +48,8 @@ import mage.constants.Outcome;
|
|||
import mage.constants.Zone;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.common.FilterOwnedCard;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||
import mage.game.ExileZone;
|
||||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
|
@ -62,6 +64,13 @@ public class IzzetChemister extends CardImpl {
|
|||
|
||||
private static final FilterCard filter = new FilterOwnedCard("instant or sorcery card from your graveyard");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.or(
|
||||
new CardTypePredicate(CardType.INSTANT),
|
||||
new CardTypePredicate(CardType.SORCERY))
|
||||
);
|
||||
}
|
||||
|
||||
public IzzetChemister(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
|
||||
|
||||
|
|
Loading…
Reference in a new issue