fixed One with the Machine counting all permanents and not just artifacts

This commit is contained in:
Evan Kranzler 2018-06-23 13:30:39 -04:00
parent 90b2a287e1
commit b8d72b9619

View file

@ -6,6 +6,7 @@ import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.cards.CardSetInfo; import mage.cards.CardSetInfo;
import mage.constants.CardType; import mage.constants.CardType;
import mage.filter.StaticFilters;
/** /**
* *
@ -18,7 +19,7 @@ public final class OneWithTheMachine extends CardImpl {
// Draw cards equal to the highest converted mana cost among artifacts you control. // Draw cards equal to the highest converted mana cost among artifacts you control.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect( this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(
new HighestConvertedManaCostValue() new HighestConvertedManaCostValue(StaticFilters.FILTER_CONTROLLED_PERMANENT_ARTIFACT)
).setText("Draw cards equal to the highest converted mana cost among artifacts you control")); ).setText("Draw cards equal to the highest converted mana cost among artifacts you control"));
} }