Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.GainLifeEffect


    super(ownerId, 33, "Solemn Offering", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{2}{W}");
    this.expansionSetCode = "M10";
    this.color.setWhite(true);
    this.getSpellAbility().addTarget(new TargetPermanent(filter));
    this.getSpellAbility().addEffect(new DestroyTargetEffect());
    this.getSpellAbility().addEffect(new GainLifeEffect(4));
  }
View Full Code Here


    super(ownerId, 206, "Elixir of Immortality", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{1}");
    this.expansionSetCode = "M11";
    Costs costs = new CostsImpl();
    costs.add(new GenericManaCost(2));
    costs.add(new TapSourceCost());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(5), costs);
    ability.addEffect(new ElixerOfImmortalityEffect());
    this.addAbility(ability);
  }
View Full Code Here

}

class SoulWardenAbility extends TriggeredAbilityImpl<SoulWardenAbility> {

  public SoulWardenAbility() {
    super(Zone.BATTLEFIELD, new GainLifeEffect(1));
  }
View Full Code Here

    ability1.addTarget(new TargetPermanent());
    this.addAbility(ability1);

    Effects effects1 = new Effects();
    effects1.add(new DamageTargetEffect(3));
    effects1.add(new GainLifeEffect(3));
    LoyaltyAbility ability2 = new LoyaltyAbility(effects1, -2);
    ability2.addTarget(new TargetCreatureOrPlayer());
    this.addAbility(ability2);

    FilterPermanent filter = new FilterPermanent("lands");
View Full Code Here

    this.color.setGreen(true);
    this.subtype.add("Boar");
    this.power = new MageInt(2);
    this.toughness = new MageInt(2);

    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(4), new SacrificeSourceCost()));
  }
View Full Code Here

}

class KrakensEyeAbility extends TriggeredAbilityImpl<KrakensEyeAbility> {

  public KrakensEyeAbility() {
    super(Zone.BATTLEFIELD, new GainLifeEffect(1), true);
  }
View Full Code Here

}

class DemonsHornAbility extends TriggeredAbilityImpl<DemonsHornAbility> {

  public DemonsHornAbility() {
    super(Zone.BATTLEFIELD, new GainLifeEffect(1), true);
  }
View Full Code Here

    this.subtype.add("Beast");
    this.color.setGreen(true);
    this.power = new MageInt(4);
    this.toughness = new MageInt(4);

    this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(4), false));
    this.addAbility(new SimpleStaticAbility(Zone.HAND, new ObstinateBalothEffect()));
  }
View Full Code Here

    this.color.setWhite(true);
    this.power = new MageInt(0);
    this.toughness = new MageInt(1);

    this.addAbility(FlyingAbility.getInstance());
    this.addAbility(new BlocksTriggeredAbility(new GainLifeEffect(4), true));

  }
View Full Code Here

    this.expansionSetCode = "M10";
    this.subtype.add("Ajani");
    this.color.setWhite(true);
    this.loyalty = new MageInt(4);

    this.addAbility(new LoyaltyAbility(new GainLifeEffect(2), 1));

    Effects effects1 = new Effects();
    effects1.add(new AddPlusOneCountersControlledEffect(1));
    effects1.add(new GainAbilityControlledEffect(VigilanceAbility.getInstance(), Duration.EndOfTurn, FilterCreaturePermanent.getDefault()));
    this.addAbility(new LoyaltyAbility(effects1, -1));
View Full Code Here

TOP

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

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.