From ad2bbad79f292ef8ef5586013e5847606f450f7a Mon Sep 17 00:00:00 2001 From: cbt33 Date: Mon, 30 Sep 2013 11:06:46 -0400 Subject: [PATCH] Update DirtyWererat.java --- Mage.Sets/src/mage/sets/odyssey/DirtyWererat.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Mage.Sets/src/mage/sets/odyssey/DirtyWererat.java b/Mage.Sets/src/mage/sets/odyssey/DirtyWererat.java index 64eacd263a..0f01711e13 100644 --- a/Mage.Sets/src/mage/sets/odyssey/DirtyWererat.java +++ b/Mage.Sets/src/mage/sets/odyssey/DirtyWererat.java @@ -35,9 +35,11 @@ import mage.abilities.common.SimpleStaticAbility; import mage.abilities.condition.common.CardsInControllerGraveCondition; import mage.abilities.costs.common.DiscardCardCost; import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.decorator.ConditionalContinousEffect; import mage.abilities.decorator.ConditionalRestrictionEffect; +import mage.abilities.effects.Effect; +import mage.abilities.effects.common.CantBlockSourceEffect; import mage.abilities.effects.common.RegenerateSourceEffect; -import mage.abilities.effects.common.combat.CantBlockSourceEffect; import mage.abilities.effects.common.continious.BoostSourceEffect; import mage.cards.CardImpl; import mage.constants.CardType; @@ -72,12 +74,12 @@ public class DirtyWererat extends CardImpl { new CardsInControllerGraveCondition(7), "

Threshold - If seven or more cards are in your graveyard, Dirty Wererat gets +2/+2 and can't block" )); - thresholdAbility.addEffect(new ConditionalRestrictionEffect( + Effect effect = new ConditionalRestrictionEffect( new CantBlockSourceEffect(Duration.WhileOnBattlefield), - new CardsInControllerGraveCondition(7))); + new CardsInControllerGraveCondition(7)); + effect.setText("and can't block"); + thresholdAbility.addEffect(effect); this.addAbility(thresholdAbility); - - } public DirtyWererat(final DirtyWererat card) {