Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.AddManaOfAnyColorEffect


    this.subtype.add("Snake");
    this.color.setGreen(true);
    this.power = new MageInt(2);
    this.toughness = new MageInt(1);

    LandfallAbility ability = new LandfallAbility(new AddManaOfAnyColorEffect(1), false);
    ability.addChoice(new ChoiceColor());
    this.addAbility(ability);
  }
View Full Code Here


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

        this.addAbility(new LandfallAbility(new AddManaOfAnyColorEffect(), false));
    }
View Full Code Here

    public AnyColorManaAbility() {
        this(new TapSourceCost());
    }

    public AnyColorManaAbility(Cost cost) {
        super(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(), cost);
        this.netMana.setAny(1);
    }
View Full Code Here

        Ability etbAbility = new EntersBattlefieldTriggeredAbility(new KhalniGemReturnToHandTargetEffect());
        Target target = new TargetControlledPermanent(2, 2, filter, false);
        etbAbility.addTarget(target);
        this.addAbility(etbAbility);
        // {tap}: Add two mana of any one color to your mana pool.
        SimpleManaAbility ability = new SimpleManaAbility(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(2), new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

    public GoldToken() {
        super("Gold", "colorless artifact token named Gold onto the battlefield. It has \"Sacrifice this artifact: Add one mana of any color to your mana pool.\"");
        this.setOriginalExpansionSetCode("BNG");
        cardType.add(CardType.ARTIFACT);

        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(), new SacrificeSourceCost()));
    }
View Full Code Here

    public BlackLotus(UUID ownerId) {
        super(ownerId, 232, "Black Lotus", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{0}");
        this.expansionSetCode = "LEA";

        // {tap}, Sacrifice Black Lotus: Add three mana of any one color to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(3), new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

        // As long as the top card of your library is a creature card, Mul Daya Channelers gets +3/+3.
        ConditionalContinousEffect effect = new ConditionalContinousEffect(new BoostSourceEffect(3, 3, Duration.WhileOnBattlefield), new TopLibraryCardTypeCondition(TopLibraryCardTypeCondition.CheckType.CREATURE), rule1);
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));

        // As long as the top card of your library is a land card, Mul Daya Channelers has "T: Add two mana of any one color to your mana pool."
        SimpleManaAbility manaAbility = new SimpleManaAbility(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(2), new TapSourceCost());
        effect = new ConditionalContinousEffect(new GainAbilitySourceEffect(manaAbility, Duration.WhileOnBattlefield),
                new TopLibraryCardTypeCondition(TopLibraryCardTypeCondition.CheckType.LAND),
                "As long as the top card of your library is a land card, Mul Daya Channelers has \"{T}: Add two mana of any one color to your mana pool.\"");
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
       
View Full Code Here

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

        // When Quirion Sentinel enters the battlefield, add one mana of any color to your mana pool.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new AddManaOfAnyColorEffect()));
    }
View Full Code Here

    public GildedLotus(UUID ownerId) {
        super(ownerId, 206, "Gilded Lotus", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{5}");
        this.expansionSetCode = "M13";

        // {tap}: Add three mana of any one color to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect(3), new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

class FertileGroundTriggeredAbility extends TriggeredManaAbility {

  
    public FertileGroundTriggeredAbility() {
        super(Zone.BATTLEFIELD, new AddManaOfAnyColorEffect());
    }
View Full Code Here

TOP

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

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.