mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
Added more clear text tap/uptap selections
Made the selection more clear when selecting to tap and selection to untap when entwine is used.
This commit is contained in:
parent
e5a951929d
commit
eeb204afdb
1 changed files with 3 additions and 2 deletions
|
@ -36,6 +36,7 @@ import mage.abilities.keyword.EntwineAbility;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.Rarity;
|
import mage.constants.Rarity;
|
||||||
|
import mage.filter.FilterPermanent;
|
||||||
import mage.filter.predicate.permanent.TappedPredicate;
|
import mage.filter.predicate.permanent.TappedPredicate;
|
||||||
import mage.target.TargetPermanent;
|
import mage.target.TargetPermanent;
|
||||||
|
|
||||||
|
@ -53,13 +54,13 @@ public class DreamsGrip extends CardImpl {
|
||||||
this.getSpellAbility().getModes().setMinModes(1);
|
this.getSpellAbility().getModes().setMinModes(1);
|
||||||
this.getSpellAbility().getModes().setMaxModes(1);
|
this.getSpellAbility().getModes().setMaxModes(1);
|
||||||
//Tap target permanent;
|
//Tap target permanent;
|
||||||
TargetPermanent target1 = new TargetPermanent();
|
TargetPermanent target1 = new TargetPermanent(new FilterPermanent("Permanent to tap"));
|
||||||
Effect tapEffect = new TapTargetEffect();
|
Effect tapEffect = new TapTargetEffect();
|
||||||
this.getSpellAbility().addTarget(target1);
|
this.getSpellAbility().addTarget(target1);
|
||||||
this.getSpellAbility().addEffect(tapEffect);
|
this.getSpellAbility().addEffect(tapEffect);
|
||||||
//or untap target permanent.
|
//or untap target permanent.
|
||||||
Mode mode = new Mode();
|
Mode mode = new Mode();
|
||||||
TargetPermanent target2 = new TargetPermanent();
|
TargetPermanent target2 = new TargetPermanent(new FilterPermanent("Permanent to untap"));
|
||||||
mode.getTargets().add(target2);
|
mode.getTargets().add(target2);
|
||||||
Effect untapEffect = new UntapTargetEffect();
|
Effect untapEffect = new UntapTargetEffect();
|
||||||
mode.getEffects().add(untapEffect);
|
mode.getEffects().add(untapEffect);
|
||||||
|
|
Loading…
Reference in a new issue