Fixed Cryptic Command (can tap all permanent not only creature)

This commit is contained in:
Nicolas 2014-01-11 21:26:08 +01:00 committed by Plopman
parent 6e610199b1
commit 543dec57f7

View file

@ -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();