Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.GainControlTargetEffect


  public ActOfTreason(UUID ownerId) {
    super(ownerId, 124, "Act of Treason", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{2}{R}");
    this.expansionSetCode = "M10";
    this.color.setRed(true);
    this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    this.getSpellAbility().addEffect(new GainControlTargetEffect(Duration.EndOfTurn));
    this.getSpellAbility().addEffect(new UntapTargetEffect());
    this.getSpellAbility().addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn));

  }
View Full Code Here


    effects1.add(new BoostControlledEffect(1, 1, Duration.EndOfTurn));
    effects1.add(new GainAbilityControlledEffect(HasteAbility.getInstance(), Duration.EndOfTurn, FilterCreaturePermanent.getDefault()));
    this.addAbility(new LoyaltyAbility(effects1, 1));

    Effects effects2 = new Effects();
    effects2.add(new GainControlTargetEffect(Duration.EndOfTurn));
    effects2.add(new UntapTargetEffect());
    effects2.add(new GainAbilityTargetEffect(HasteAbility.getInstance(), Duration.EndOfTurn));

    LoyaltyAbility ability = new LoyaltyAbility(effects2, -2);
    ability.addTarget(new TargetCreaturePermanent());
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.GainControlTargetEffect

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.