Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.GainLifeEffect


    public RadiantFountain(UUID ownerId) {
        super(ownerId, 245, "Radiant Fountain", Rarity.COMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "M15";

        // When Radiant Fountain enters the battlefield, you gain 2 life.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(2), false));
       
        // {T}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
    }
View Full Code Here


        // Trample
        this.addAbility(TrampleAbility.getInstance());
       
        // When Siege Rhino enters the battlefield, each opponent loses 3 life and you gain 3 life.
        Ability ability = new EntersBattlefieldTriggeredAbility(new LoseLifeOpponentsEffect(3));
        Effect effect = new GainLifeEffect(3);
        effect.setText("and you gain 3 life");
        ability.addEffect(effect);       
        this.addAbility(ability);
    }
View Full Code Here

       
        // Morph - Reveal a white card in your hand
        this.addAbility(new MorphAbility(this, new RevealTargetFromHandCost(new TargetCardInHand(filter))));
       
        // When Watcher of the Roost is turned face up, you gain 2 life.
        Effect effect = new GainLifeEffect(2);
        effect.setText("you gain 2 life");
        this.addAbility(new TurnedFaceUpSourceTriggeredAbility(effect));
    }
View Full Code Here

       
        // +1: Look at the top four cards of your library. You may reveal an Aura, creature, or planeswalker card from among them and put that card into your hand. Put the rest on the bottom of your library in any order.
        this.addAbility(new LoyaltyAbility(new LookLibraryAndPickControllerEffect(4,1, filterCard,true, false, Zone.HAND, true), 1));
       
        // -8: You gain 100 life.
        this.addAbility(new LoyaltyAbility(new GainLifeEffect(100), -8));
    }
View Full Code Here

        this.expansionSetCode = "KTK";

        // Scoured Barrens enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // When Scoured Barrens enters the battlefield, you gain 1 life.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(1)));
        // {T}: Add {W} or {B} to your mana pool.
        this.addAbility(new WhiteManaAbility());
        this.addAbility(new BlackManaAbility());       
               
    }
View Full Code Here

        super(ownerId, 179, "Soul Feast", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{3}{B}{B}");
        this.expansionSetCode = "10E";
        this.color.setBlack(true);
        this.getSpellAbility().addEffect(new LoseLifeTargetEffect(4));
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.getSpellAbility().addEffect(new GainLifeEffect(4));
    }
View Full Code Here

    public BubblingCauldron(UUID ownerId) {
        super(ownerId, 205, "Bubbling Cauldron", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{2}");
        this.expansionSetCode = "M14";

        // {1}, {T}, Sacrifice a creature: You gain 4 life.
        Ability ability1 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(4), new ManaCostsImpl("{1}"));
        ability1.addCost(new TapSourceCost());
        ability1.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(1, 1, new FilterControlledCreaturePermanent("a creature"), true)));
        this.addAbility(ability1);
        // {1}, {T}, Sacrifice a creature named Festering Newt: Each opponent loses 4 life. You gain life equal to the life lost this way.
        Ability ability2 = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BubblingCauldronEffect(), new ManaCostsImpl("{1}"));
View Full Code Here

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

        // Whenever an artifact enters the battlefield, you may gain 1 life.
        this.addAbility(new EntersBattlefieldAllTriggeredAbility(Zone.BATTLEFIELD, new GainLifeEffect(1), new FilterArtifactPermanent(), true));
    }
View Full Code Here

    public Nourish (UUID ownerId) {
        super(ownerId, 78, "Nourish", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{G}{G}");
        this.expansionSetCode = "DST";
        this.color.setGreen(true);
        this.getSpellAbility().addEffect(new GainLifeEffect(6));
    }
View Full Code Here

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

        // When Cathedral Sanctifier enters the battlefield, you gain 3 life.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(3)));
    }
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.