Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.CantBeTargetedTargetEffect


        // Kicker {G} (You may pay an additional {G} as you cast this spell.)
        this.addAbility(new KickerAbility("{G}"));

        // Target creature can't be the target of spells or abilities your opponents control this turn.
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new CantBeTargetedTargetEffect(filter, Duration.EndOfTurn));

        // If Vines of Vastwood was kicked, that creature gets +4/+4 until end of turn.
        this.getSpellAbility().addEffect(new ConditionalContinousEffect(new BoostTargetEffect(4, 4, Duration.EndOfTurn),
                new LockedInCondition(KickedCondition.getInstance()), staticText));
    }
View Full Code Here

TOP

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

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.