Package mage.abilities.costs.mana

Examples of mage.abilities.costs.mana.ColoredManaCost


    this.color.setGreen(true);
    this.power = new MageInt(4);
    this.toughness = new MageInt(4);

    MultikickerAbility ability = new MultikickerAbility(new CreateTokenEffect(new WolfToken()), false);
    ability.addManaCost(new ColoredManaCost(ColoredManaSymbol.G));
    this.addAbility(ability);
  }
View Full Code Here


    this.toughness = new MageInt(1);
    this.addAbility(HasteAbility.getInstance());
    Ability ability1 = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect());
    ability1.addTarget(new TargetNonBasicLandPermanent());
    KickerAbility ability2 = new KickerAbility(new GainAbilitySourceEffect(ability1, Duration.WhileOnBattlefield), false);
    ability2.addManaCost(new ColoredManaCost(ColoredManaSymbol.R));
    this.addAbility(ability2);

  }
View Full Code Here

class CobraTrapAlternativeCost extends AlternativeCostImpl {

    public CobraTrapAlternativeCost() {
        super("you may pay {G} rather than pay Cobra Trap's mana cost");
        this.add(new ColoredManaCost(ColoredManaSymbol.G));
    }
View Full Code Here

class NeedlebiteTrapAlternativeCost extends AlternativeCostImpl {

    public NeedlebiteTrapAlternativeCost() {
        super("If an opponent gained life this turn, you may pay {B} rather than pay {this}'s mana cost");
        this.add(new ColoredManaCost(ColoredManaSymbol.B));
    }
View Full Code Here

        this.expansionSetCode = "TMP";
        this.subtype.add("Crab");
        this.color.setBlue(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(3);
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(ShroudAbility.getInstance(), Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.U)));
    }
View Full Code Here

        this.subtype.add("Scout");
        this.color.setWhite(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        this.addAbility(FirstStrikeAbility.getInstance());
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.W));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

        this.expansionSetCode = "TMP";
        this.subtype.add("Giant");
        this.color.setRed(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(3);
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(2, -2, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.R)));
    }
View Full Code Here

        this.expansionSetCode = "EXO";

        this.color.setGreen(true);

        // {G}, Discard a creature card: Search your library for a creature card, reveal that card, and put it into your hand. Then shuffle your library.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SearchLibraryPutInHandEffect(new TargetCardInLibrary(filter), true, true), new ColoredManaCost(ColoredManaSymbol.G));
        ability.addCost(new DiscardTargetCost(new TargetCardInHand(filter)));
        this.addAbility(ability);
    }
View Full Code Here

        this.subtype.add("Insect");
        this.color.setRed(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        this.addAbility(FlyingAbility.getInstance());
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.R)));
    }
View Full Code Here

        this.expansionSetCode = "TMP";
        this.subtype.add("Rat");
        this.color.setBlack(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(1);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ColoredManaCost(ColoredManaSymbol.B));
        ability.addTarget(new TargetControlledPermanent(filter));
        this.addAbility(ability);
    }
View Full Code Here

TOP

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

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.