Examples of GainProtectionFromColorTargetEffect


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

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

        // Sacrifice Moonlit Strider: Target creature 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 SacrificeSourceCost());
        ability.addTarget(new TargetControlledCreaturePermanent());
        this.addAbility(ability);       
       
        // Soulshift 3 (When this creature dies, you may return target Spirit card with converted mana cost 3 or less from your graveyard to your hand.)
        this.addAbility(new SoulshiftAbility(3));
View Full Code Here

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

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

        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
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.