[STX] fixed Silverquill Command mode not targeting (fixes #7743)

This commit is contained in:
Evan Kranzler 2021-04-15 09:36:56 -04:00
parent c408776ad7
commit aea59275d9

View file

@ -17,6 +17,7 @@ import mage.filter.FilterCard;
import mage.filter.StaticFilters;
import mage.filter.common.FilterCreatureCard;
import mage.filter.predicate.mageobject.ConvertedManaCostPredicate;
import mage.target.TargetPlayer;
import mage.target.common.TargetCardInYourGraveyard;
import mage.target.common.TargetCreaturePermanent;
import mage.target.common.TargetOpponent;
@ -59,6 +60,7 @@ public final class SilverquillCommand extends CardImpl {
// Target player draws a card and loses 1 life.
mode = new Mode(new DrawCardTargetEffect(1));
mode.addEffect(new LoseLifeTargetEffect(1).setText("and loses 1 life"));
mode.addTarget(new TargetPlayer());
this.getSpellAbility().addMode(mode);
// Target opponent sacrifices a creature.