Package mage.abilities.effects.common.continious

Examples of mage.abilities.effects.common.continious.GainProtectionFromColorTargetEffect


        this.toughness = new MageInt(2);

        // Islandwalk
        this.addAbility(new IslandwalkAbility());
        // {1}{W}: Target Merfolk you control gains protection from the color of your choice until end of turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainProtectionFromColorTargetEffect(Duration.EndOfTurn), new ManaCostsImpl("{1}{W}"));
        Target target = new TargetControlledCreaturePermanent(1,1,filter, false);
        ability.addTarget(target);
        this.addAbility(ability);

    }
View Full Code Here


        this.expansionSetCode = "ROE";

        this.color.setWhite(true);

        // Target creature you control gains protection from the color of your choice until end of turn.
        this.getSpellAbility().addEffect(new GainProtectionFromColorTargetEffect(Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
       
        // Rebound
        this.addAbility(new ReboundAbility());
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.continious.GainProtectionFromColorTargetEffect

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.