Package mage.abilities.effects.common.cost

Examples of mage.abilities.effects.common.cost.SpellCostReductionSourceEffect


        // Counter target spell or ability that targets a permanent you control.
        this.getSpellAbility().addTarget(
                new TargetSpellTargetingControlledPermanent());
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        // Not of This World costs {7} less to cast if it targets a spell or ability that targets a creature you control with power 7 or greater.
        this.addAbility(new SimpleStaticAbility(Zone.STACK, new SpellCostReductionSourceEffect(7, NotOfThisWorldCondition.getInstance())));
    }
View Full Code Here


    public StoicRebuttal(UUID ownerId) {
        super(ownerId, 46, "Stoic Rebuttal", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{U}{U}");
        this.expansionSetCode = "SOM";
        this.color.setBlue(true);
        // Metalcraft - Stoic Rebuttal costs {1} less to cast if you control three or more artifacts.
        Ability ability = new SimpleStaticAbility(Zone.STACK, new SpellCostReductionSourceEffect(1, MetalcraftCondition.getInstance()));
        ability.setRuleAtTheTop(true);
        ability.setAbilityWord(AbilityWord.METALCRAFT);
        this.addAbility(ability);
       
        // Counter target spell.
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.cost.SpellCostReductionSourceEffect

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.