Package mage.abilities.costs.mana

Examples of mage.abilities.costs.mana.ManaCostsImpl


    this.color.setGreen(true);
    this.subtype.add("Snake");
    this.power = new MageInt(2);
    this.toughness = new MageInt(1);
    this.addAbility(IslandwalkAbility.getInstance());
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{G}")));
  }
View Full Code Here


        this.subtype.add("Elf");
        this.subtype.add("Druid");
        this.power = new MageInt(2);
  this.toughness = new MageInt(2);
        Ability ability = new KnotvineMysticManaAbility();
        ability.addCost(new ManaCostsImpl("{1}"));
        this.addAbility(ability);
    }
View Full Code Here

        this.subtype.add("Knight");
        this.color.setBlue(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(4);
        this.addAbility(FlyingAbility.getInstance());
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}{W}{B}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetControlledPermanent(filter));
        this.addAbility(ability);
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapSourceEffect(), new ManaCostsImpl("{2}{U}")));
    }
View Full Code Here

        this.color.setRed(true);
        this.color.setGreen(true);
        this.subtype.add("Lizard");
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddPlusOneCountersSourceEffect(1), new ManaCostsImpl());
        ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent()));
        this.addAbility(ability);
    }
View Full Code Here

    public MoltenFrame(UUID ownerId) {
        super(ownerId, 69, "Molten Frame", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{R}");
        this.expansionSetCode = "CON";
        this.color.setRed(true);
        this.getSpellAbility().addTarget(new TargetPermanent(filter));
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

    public ScepterOfInsight(UUID ownerId) {
        super(ownerId, 33, "Scepter of Insight", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{1}{U}{U}");
        this.expansionSetCode = "CON";
        this.color.setBlue(true);

        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardControllerEffect(1), new ManaCostsImpl("{3}{U}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

        this.expansionSetCode = "CON";
        this.subtype.add("Zombie");
        this.color.setBlack(true);
        this.power = new MageInt(1);
  this.toughness = new MageInt(1);
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(3, 0, Duration.EndOfTurn), new ManaCostsImpl(("{1}{U}{B}")));
        ability.getEffects().add(new GainAbilitySourceEffect(FlyingAbility.getInstance(), Duration.EndOfTurn));
        this.addAbility(ability);
    }
View Full Code Here

class InfernoTrapAlternativeCost extends AlternativeCostImpl {

    public InfernoTrapAlternativeCost() {
        super("you may pay {R} rather than pay Inferno Trap's mana cost");
        this.add(new ManaCostsImpl("{R}"));
    }
View Full Code Here

    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

class PitfallTrapAlternativeCost extends AlternativeCostImpl {

    public PitfallTrapAlternativeCost() {
        super("you may pay {W} rather than pay Pitfall Trap's mana cost");
        this.add(new ManaCostsImpl("{W}"));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.costs.mana.ManaCostsImpl

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.