Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.AddConditionalManaOfAnyColorEffect


    public ConditionalAnyColorManaAbility(Cost cost, int amount, ConditionalManaBuilder manaBuilder) {
        this(cost, amount, manaBuilder, false);
    }

    public ConditionalAnyColorManaAbility(Cost cost, int amount, ConditionalManaBuilder manaBuilder, boolean oneChoice) {
        super(Zone.BATTLEFIELD, new AddConditionalManaOfAnyColorEffect(oneChoice ? 1 :amount, manaBuilder), cost);
        int choices = amount;
        if (oneChoice) {
            for (int i = 1; i < amount; i++) {
                this.addEffect(new AddConditionalManaOfAnyColorEffect(1 , manaBuilder));
            }
            choices = 1;
        }
        for (int i = 0; i < choices; i++) {
            this.addChoice(new ChoiceColor());
View Full Code Here

TOP

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

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.