* Shifting Sliver - Fixed that the "Can't be blocked" ability was applied to non slivers instead of Slivers.

This commit is contained in:
LevelX2 2015-10-30 22:47:26 +01:00
parent 077f62c4ff
commit 03ad44a0e3

View file

@ -29,10 +29,8 @@ package mage.sets.legions;
import java.util.UUID; import java.util.UUID;
import mage.MageInt; import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleStaticAbility; import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.common.combat.CantBeBlockedByCreaturesAllEffect; import mage.abilities.effects.common.combat.CantBeBlockedByCreaturesAllEffect;
import mage.abilities.effects.common.continuous.GainAbilityAllEffect;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.constants.CardType; import mage.constants.CardType;
import mage.constants.Duration; import mage.constants.Duration;
@ -47,12 +45,12 @@ import mage.filter.predicate.mageobject.SubtypePredicate;
* @author cbt33 * @author cbt33
*/ */
public class ShiftingSliver extends CardImpl { public class ShiftingSliver extends CardImpl {
private static final FilterCreaturePermanent filterCreatures = new FilterCreaturePermanent("Slivers"); private static final FilterCreaturePermanent filterCreatures = new FilterCreaturePermanent("Slivers");
private static final FilterCreaturePermanent filterBlockedBy = new FilterCreaturePermanent("except by Slivers"); private static final FilterCreaturePermanent filterBlockedBy = new FilterCreaturePermanent("except by Slivers");
static { static {
filterCreatures.add(Predicates.not(new SubtypePredicate("Sliver"))); filterCreatures.add(new SubtypePredicate("Sliver"));
filterBlockedBy.add(Predicates.not(new SubtypePredicate("Sliver"))); filterBlockedBy.add(Predicates.not(new SubtypePredicate("Sliver")));
} }