Package mage.abilities.costs

Examples of mage.abilities.costs.OptionalAdditionalCost


    public KickerAbility copy() {
       return new KickerAbility(this);
    }

    public final OptionalAdditionalCost addKickerCost(String manaString) {
       OptionalAdditionalCost kickerCost = new OptionalAdditionalCostImpl(keywordText, reminderText, new ManaCostsImpl(manaString));
       kickerCosts.add(kickerCost);
       return kickerCost;
    }
View Full Code Here


       kickerCosts.add(kickerCost);
       return kickerCost;
    }

    public final OptionalAdditionalCost addKickerCost(Cost cost) {
       OptionalAdditionalCost kickerCost = new OptionalAdditionalCostImpl(keywordText, "-", reminderText, cost);
       kickerCosts.add(kickerCost);
       return kickerCost;
    }
View Full Code Here

        this.expansionSetCode = "ZEN";

        this.color.setBlack(true);

        // Kicker - Tap an untapped Vampire you control.
        OptionalAdditionalCost cost = new OptionalAdditionalCostImpl("Kicker-","",new TapTargetCost(new TargetControlledCreaturePermanent(1, 1, filter, true)));
        this.addAbility(new KickerAbility(cost));

        // Target opponent loses half his or her life, rounded up.
        this.getSpellAbility().addTarget(new TargetOpponent());
        this.getSpellAbility().addEffect(new BloodTributeLoseLifeEffect());
View Full Code Here

    protected static final String MultikickerKeyword = "Multikicker";
    protected static final String MultikickerReminder = "(You may pay an additional {cost} any number of times as you cast this spell.)";

    public MultikickerAbility(String manaString) {
       super(MultikickerKeyword, MultikickerReminder);
       OptionalAdditionalCost multikickerCost = this.addKickerCost(manaString);
       multikickerCost.setRepeatable(true);
    }
View Full Code Here

       multikickerCost.setRepeatable(true);
    }

    public MultikickerAbility(Cost cost) {
       super(MultikickerKeyword, MultikickerReminder);
       OptionalAdditionalCost multikickerCost =this.addKickerCost(cost);
       multikickerCost.setRepeatable(true);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.costs.OptionalAdditionalCost

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.