mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Added rules text comment to Aura Graft.
This commit is contained in:
parent
5460eb7b3c
commit
05fb8409fd
1 changed files with 1 additions and 1 deletions
|
@ -59,13 +59,13 @@ public class AuraGraft extends CardImpl {
|
||||||
super(ownerId, 67, "Aura Graft", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{U}");
|
super(ownerId, 67, "Aura Graft", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{U}");
|
||||||
this.expansionSetCode = "10E";
|
this.expansionSetCode = "10E";
|
||||||
|
|
||||||
|
// Gain control of target Aura that's attached to a permanent. Attach it to another permanent it can enchant.
|
||||||
FilterPermanent filter = new FilterPermanent("Aura that's attached to a permanent");
|
FilterPermanent filter = new FilterPermanent("Aura that's attached to a permanent");
|
||||||
filter.add(new SubtypePredicate("Aura"));
|
filter.add(new SubtypePredicate("Aura"));
|
||||||
filter.add(new AttachedToPermanentPredicate());
|
filter.add(new AttachedToPermanentPredicate());
|
||||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
||||||
|
|
||||||
Effect gainControlEffect = new GainControlTargetEffect(Duration.EndOfGame);
|
Effect gainControlEffect = new GainControlTargetEffect(Duration.EndOfGame);
|
||||||
//gainControlEffect.setText("Gain control of target Aura that's attached to a permanent");
|
|
||||||
this.getSpellAbility().addEffect(gainControlEffect);
|
this.getSpellAbility().addEffect(gainControlEffect);
|
||||||
|
|
||||||
this.getSpellAbility().addEffect(new MoveTargetAuraEffect());
|
this.getSpellAbility().addEffect(new MoveTargetAuraEffect());
|
||||||
|
|
Loading…
Reference in a new issue