Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.BoostTargetEffect


    this.subtype.add("Soldier");
    this.color.setWhite(true);
    this.power = new MageInt(1);
    this.toughness = new MageInt(1);

    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 1, Duration.EndOfTurn), new TapSourceCost());
    ability.addTarget(new TargetAttackingCreature());
    this.addAbility(ability);
  }
View Full Code Here


  public MightyLeap(UUID ownerId) {
    super(ownerId, 22, "Mighty Leap", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{W}");
    this.expansionSetCode = "M11";
    this.color.setWhite(true);
    this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    this.getSpellAbility().addEffect(new BoostTargetEffect(2, 2, Duration.EndOfTurn));
    this.getSpellAbility().addEffect(new GainAbilityTargetEffect(FlyingAbility.getInstance(), Duration.EndOfTurn));
  }
View Full Code Here

TOP

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

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.