Examples of GainLifeEffect


Examples of mage.abilities.effects.common.GainLifeEffect

    this.addAbility(new LandfallAbility(new AddCountersSourceEffect("quest", 1), true));
    Costs costs = new CostsImpl();
    costs.add(new RemoveCountersSourceCost("quest", 3));
    costs.add(new SacrificeSourceCost());
    ActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(8), costs);
    this.addAbility(ability);
  }
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeEffect

}

class DragonsClawAbility extends TriggeredAbilityImpl<DragonsClawAbility> {

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

Examples of mage.abilities.effects.common.GainLifeEffect

  public KabiraCrossroads(UUID ownerId) {
    super(ownerId, 216, "Kabira Crossroads", Rarity.COMMON, new CardType[]{CardType.LAND}, null);
    this.expansionSetCode = "ZEN";
    this.addAbility(new EntersBattlefieldTappedAbility());
    this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(2), false));
    this.addAbility(new WhiteManaAbility());
  }
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeEffect

  public AjanisMantra(UUID ownerId) {
    super(ownerId, 2, "Ajani's Mantra", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{W}");
    this.expansionSetCode = "M11";
    this.getColor().setWhite(true);
    this.addAbility(new OnEventTriggeredAbility(EventType.UPKEEP_STEP_PRE, "beginning of your upkeep", new GainLifeEffect(1), true));
  }
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeEffect

  public AngelsMercy(UUID ownerId) {
    super(ownerId, 2, "Angel's Mercy", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{W}{W}");
    this.expansionSetCode = "M10";
    this.color.setWhite(true);
    this.getSpellAbility().addEffect(new GainLifeEffect(7));
  }
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeEffect

}

class WurmsToothAbility extends TriggeredAbilityImpl<WurmsToothAbility> {

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

Examples of mage.abilities.effects.common.GainLifeEffect

        this.subtype.add("Monk");
        this.subtype.add("Soldier");
        this.power = new MageInt(2);
  this.toughness = new MageInt(3);
        this.addAbility(new ExaltedAbility());
        this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(3)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeEffect

  public SejiriRefuge(UUID ownerId) {
    super(ownerId, 224, "Sejiri Refuge", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, null);
    this.expansionSetCode = "ZEN";
    this.addAbility(new EntersBattlefieldTappedAbility());
    this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(1), false));
    this.addAbility(new WhiteManaAbility());
    this.addAbility(new BlueManaAbility());
  }
View Full Code Here

Examples of mage.abilities.effects.common.GainLifeEffect

}

class AngelsFeatherAbility extends TriggeredAbilityImpl<AngelsFeatherAbility> {

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

Examples of mage.abilities.effects.common.GainLifeEffect

                new NeedlebiteTrapAlternativeCost());
        this.addWatcher(new PlayerGainedLifeWatcher());

        // Target player loses 5 life and you gain 5 life.
        this.getSpellAbility().addEffect(new LoseLifeTargetEffect(5));
        this.getSpellAbility().addEffect(new GainLifeEffect(5));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.