mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
Fixed Cryptic Command (can tap all permanent not only creature)
This commit is contained in:
parent
6e610199b1
commit
543dec57f7
1 changed files with 2 additions and 2 deletions
|
@ -45,8 +45,8 @@ import mage.filter.predicate.permanent.ControllerPredicate;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
import mage.players.Player;
|
import mage.players.Player;
|
||||||
|
import mage.target.TargetPermanent;
|
||||||
import mage.target.TargetSpell;
|
import mage.target.TargetSpell;
|
||||||
import mage.target.common.TargetCreaturePermanent;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -69,7 +69,7 @@ public class CrypticCommand extends CardImpl<CrypticCommand> {
|
||||||
// or return target permanent to its owner's hand;
|
// or return target permanent to its owner's hand;
|
||||||
Mode mode = new Mode();
|
Mode mode = new Mode();
|
||||||
mode.getEffects().add(new ReturnToHandTargetEffect());
|
mode.getEffects().add(new ReturnToHandTargetEffect());
|
||||||
mode.getTargets().add(new TargetCreaturePermanent());
|
mode.getTargets().add(new TargetPermanent());
|
||||||
this.getSpellAbility().getModes().addMode(mode);
|
this.getSpellAbility().getModes().addMode(mode);
|
||||||
// or tap all creatures your opponents control;
|
// or tap all creatures your opponents control;
|
||||||
mode = new Mode();
|
mode = new Mode();
|
||||||
|
|
Loading…
Reference in a new issue