Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.DoIfCostPaid


        this.color.setRed(true);
        this.color.setBlue(true);

        // Whenever you cast a multicolored instant or sorcery spell, you may pay {1}. If you do, copy that spell. You may choose new targets for the copy.
        this.addAbility(new SpellCastControllerTriggeredAbility(new DoIfCostPaid(new ClovenCastingEffect(), new GenericManaCost(1)), filter, true, true));

    }
View Full Code Here


class PyrewildShamanTriggeredAbility extends TriggeredAbilityImpl {

    List<UUID> damagedPlayerIds = new ArrayList<>();

    public PyrewildShamanTriggeredAbility() {
        super(Zone.GRAVEYARD, new DoIfCostPaid(new ReturnToHandSourceEffect(), new ManaCostsImpl("{3}")), false);
    }
View Full Code Here

TOP

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

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.