[KHM] fixed Masked Vandal not working correctly (fixes #7454)

This commit is contained in:
Evan Kranzler 2021-01-27 09:19:10 -05:00
parent 69ebe96786
commit a373d326e5

View file

@ -2,7 +2,7 @@ package mage.cards.m;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldAbility;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.costs.common.ExileFromGraveCost;
import mage.abilities.effects.common.DoIfCostPaid;
import mage.abilities.effects.common.ExileTargetEffect;
@ -43,7 +43,7 @@ public final class MaskedVandal extends CardImpl {
this.addAbility(new ChangelingAbility());
// When enters the battlefield, you may exile a creature card from your graveyard. If you do, exile target artifact or enchantment an opponent controls.
Ability ability = new EntersBattlefieldAbility(
Ability ability = new EntersBattlefieldTriggeredAbility(
new DoIfCostPaid(new ExileTargetEffect(), new ExileFromGraveCost(
new TargetCardInYourGraveyard(StaticFilters.FILTER_CARD_CREATURE_A)
))