mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[STX] fixed Silverquill Command mode not targeting (fixes #7743)
This commit is contained in:
parent
c408776ad7
commit
aea59275d9
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ import mage.filter.FilterCard;
|
||||||
import mage.filter.StaticFilters;
|
import mage.filter.StaticFilters;
|
||||||
import mage.filter.common.FilterCreatureCard;
|
import mage.filter.common.FilterCreatureCard;
|
||||||
import mage.filter.predicate.mageobject.ConvertedManaCostPredicate;
|
import mage.filter.predicate.mageobject.ConvertedManaCostPredicate;
|
||||||
|
import mage.target.TargetPlayer;
|
||||||
import mage.target.common.TargetCardInYourGraveyard;
|
import mage.target.common.TargetCardInYourGraveyard;
|
||||||
import mage.target.common.TargetCreaturePermanent;
|
import mage.target.common.TargetCreaturePermanent;
|
||||||
import mage.target.common.TargetOpponent;
|
import mage.target.common.TargetOpponent;
|
||||||
|
@ -59,6 +60,7 @@ public final class SilverquillCommand extends CardImpl {
|
||||||
// • Target player draws a card and loses 1 life.
|
// • Target player draws a card and loses 1 life.
|
||||||
mode = new Mode(new DrawCardTargetEffect(1));
|
mode = new Mode(new DrawCardTargetEffect(1));
|
||||||
mode.addEffect(new LoseLifeTargetEffect(1).setText("and loses 1 life"));
|
mode.addEffect(new LoseLifeTargetEffect(1).setText("and loses 1 life"));
|
||||||
|
mode.addTarget(new TargetPlayer());
|
||||||
this.getSpellAbility().addMode(mode);
|
this.getSpellAbility().addMode(mode);
|
||||||
|
|
||||||
// • Target opponent sacrifices a creature.
|
// • Target opponent sacrifices a creature.
|
||||||
|
|
Loading…
Reference in a new issue