* Revolutionary Rebuff - Fixed that the ommit of artifact spells did not work.

This commit is contained in:
LevelX2 2016-09-18 18:21:16 +02:00
parent 053fec43d7
commit 2c60990e46

View file

@ -35,7 +35,7 @@ import mage.constants.CardType;
import mage.constants.Rarity;
import mage.filter.FilterSpell;
import mage.filter.predicate.Predicates;
import mage.filter.predicate.mageobject.SubtypePredicate;
import mage.filter.predicate.mageobject.CardTypePredicate;
import mage.target.TargetSpell;
/**
@ -50,8 +50,7 @@ public class RevolutionaryRebuff extends CardImpl {
// Counter target nonartifact spell unless its controller pays 2.
FilterSpell filter = new FilterSpell();
filter.add(Predicates.not(new SubtypePredicate("Artifact")));
filter.add(Predicates.not(new CardTypePredicate(CardType.ARTIFACT)));
this.getSpellAbility().addTarget(new TargetSpell(filter));
this.getSpellAbility().addEffect(new CounterUnlessPaysEffect(new GenericManaCost(2)));
}