mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
fixed Stench of Decay shrinking artifacts rather than nonartifacts
This commit is contained in:
parent
00e953ed19
commit
954237e5ff
1 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@ import mage.cards.CardSetInfo;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.Duration;
|
import mage.constants.Duration;
|
||||||
import mage.filter.common.FilterCreaturePermanent;
|
import mage.filter.common.FilterCreaturePermanent;
|
||||||
|
import mage.filter.predicate.Predicates;
|
||||||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -45,7 +46,7 @@ public class StenchOfDecay extends CardImpl {
|
||||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Nonartifact creatures");
|
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Nonartifact creatures");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.add(new CardTypePredicate(CardType.ARTIFACT));
|
filter.add(Predicates.not(new CardTypePredicate(CardType.ARTIFACT)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public StenchOfDecay(UUID ownerId, CardSetInfo setInfo) {
|
public StenchOfDecay(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
|
Loading…
Reference in a new issue