Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.SweepEffect


        this.subtype.add("Arcane");

        this.color.setRed(true);

        // Sweep - Return any number of Mountains you control to their owner's hand. Barrel Down Sokenzan deals damage to target creature equal to twice the number of Mountains returned this way.
        this.getSpellAbility().addEffect(new SweepEffect("Mountain"));
        DynamicValue sweepValue = new MultipliedValue(new SweepNumber("Mountain", false), 2);
        this.getSpellAbility().addEffect(new DamageTargetEffect(sweepValue));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    }
View Full Code Here


        this.subtype.add("Arcane");

        this.color.setBlack(true);

        // Sweep - Return any number of Swamps you control to their owner's hand. Target player discards a card for each Swamp returned this way.
        this.getSpellAbility().addEffect(new SweepEffect("Swamp"));
        DynamicValue sweepValue = new SweepNumber("Swamp", false);
        this.getSpellAbility().addEffect(new DiscardTargetEffect(sweepValue));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here

        this.subtype.add("Arcane");

        this.color.setWhite(true);

        // Sweep - Return any number of Plains you control to their owner's hand. Target creature gets +1/+1 until end of turn for each Plains returned this way.
        this.getSpellAbility().addEffect(new SweepEffect("Plains"));
        DynamicValue sweepValue = new SweepNumber("Plains", true);
        this.getSpellAbility().addEffect(new BoostTargetEffect(sweepValue, sweepValue, Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    }
View Full Code Here

        this.subtype.add("Arcane");

        this.color.setWhite(true);

        // Sweep - Return any number of Plains you control to their owner's hand. Creatures you control get +1/+1 until end of turn for each Plains returned this way.
        this.getSpellAbility().addEffect(new SweepEffect("Plains"));
        DynamicValue sweepValue = new SweepNumber("Plains", true);
        this.getSpellAbility().addEffect(new BoostControlledEffect(sweepValue, sweepValue, Duration.EndOfTurn));

    }
View Full Code Here

TOP

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

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.