Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.RegenerateAllEffect


        mode.getTargets().add(new TargetPermanent(new FilterEnchantment()));
        this.getSpellAbility().addMode(mode);

        // or regenerate each creature you control.
        mode = new Mode();
        mode.getEffects().add(new RegenerateAllEffect(new FilterControlledCreaturePermanent()));
        this.getSpellAbility().addMode(mode);
    }
View Full Code Here


        // When Loxodon Hierarch enters the battlefield, you gain 4 life.
        Ability etbAbility = new EntersBattlefieldTriggeredAbility(new GainLifeEffect(4));
        this.addAbility(etbAbility);
        // {G}{W}, Sacrifice Loxodon Hierarch: Regenerate each creature you control.
        Ability activated = new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateAllEffect(filter), new ManaCostsImpl("{G}{W}"));
        activated.addCost(new SacrificeSourceCost());
        this.addAbility(activated);
    }
View Full Code Here

TOP

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

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.