Examples of BasicManaEffect


Examples of mage.abilities.effects.common.BasicManaEffect

        super(ownerId, 179, "River of Tears", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "FUT";

        // {tap}: Add {U} to your mana pool. If you played a land this turn, add {B} to your mana pool instead.
        this.addAbility(new ConditionalManaAbility(Zone.BATTLEFIELD, new ConditionalManaEffect(
                new BasicManaEffect(Mana.BlackMana),
                new BasicManaEffect(Mana.BlueMana),
                LandfallCondition.getInstance(),
                "Add {U} to your mana pool. If you played a land this turn, add {B} to your mana pool instead"),
            new TapSourceCost()));
       
       
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

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

        // {R}, Sacrifice Satyr Hedonist: Add {R}{R}{R} to your mana pool.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BasicManaEffect(Mana.RedMana(3)),new ManaCostsImpl("{R}"));
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);

    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

        this.toughness = new MageInt(1);

        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {1}, {tap}: Add {U} to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new BasicManaEffect(Mana.BlueMana), new GenericManaCost(1));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

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

        // Exile Simian Spirit Guide from your hand: Add {R} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.HAND, new BasicManaEffect(Mana.RedMana), new ExileSourceFromHandCost()));
    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

}

class KnotvineMysticManaAbility extends BasicManaAbility {

    public KnotvineMysticManaAbility() {
        super(new BasicManaEffect(new Mana(1, 1, 0, 1, 0, 0, 0)));
        this.netMana.setGreen(1);
        this.netMana.setRed(1);
        this.netMana.setWhite(1);
    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

        this.expansionSetCode = "C13";

        // {tap}: Add {2} to your mana pool. Activate this ability only if you control five or more lands.
        this.addAbility(new ActivateIfConditionManaAbility(
                Zone.BATTLEFIELD,
                new BasicManaEffect(Mana.ColorlessMana(2)),
                new TapSourceCost(),
                new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.MORE_THAN, 4)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

        this.toughness = new MageInt(3);

        // Defender
        this.addAbility(DefenderAbility.getInstance());
        // Sacrifice Tinder Wall: Add {R}{R} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new BasicManaEffect(Mana.RedMana(2)), new SacrificeSourceCost()));
        // {R}, Sacrifice Tinder Wall: Tinder Wall deals 2 damage to target creature it's blocking.
        FilterAttackingCreature filter = new FilterAttackingCreature("creature it's blocking");
        filter.add(new BlockingByPredicate(this.getId()));
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new ManaCostsImpl("{R}"));
        ability.addTarget(new TargetCreaturePermanent(filter));
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

        this.nightCard = true;
        this.canTransform = true;

        this.addAbility(VigilanceAbility.getInstance());
        // {tap}: Add {G}{G} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new BasicManaEffect(Mana.GreenMana(2)), new TapSourceCost()));
        // At the beginning of each upkeep, if a player cast two or more spells last turn, transform Moonscarred Werewolf.
        TriggeredAbility ability = new BeginningOfUpkeepTriggeredAbility(new TransformSourceEffect(false), TargetController.ANY, false);
        this.addAbility(new ConditionalTriggeredAbility(ability,
                TwoOrMoreSpellsWereCastLastTurnCondition.getInstance(),
                TransformAbility.TWO_OR_MORE_SPELLS_TRANSFORM_RULE));
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

        this.addAbility(new ColorlessManaAbility());

        // {tap}: Add {U} or {B} to your mana pool. Activate this ability only if you control a Swamp.
        this.addAbility(new ActivateIfConditionManaAbility(
                Zone.BATTLEFIELD,
                new BasicManaEffect(Mana.BlueMana),
                new TapSourceCost(),
                new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.MORE_THAN, 0)));
        this.addAbility(new ActivateIfConditionManaAbility(
                Zone.BATTLEFIELD,
                new BasicManaEffect(Mana.BlackMana),
                new TapSourceCost(),
                new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.MORE_THAN, 0)));

    }
View Full Code Here

Examples of mage.abilities.effects.common.BasicManaEffect

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

        // Discard a card, Sacrifice Overeager Apprentice: Add {B}{B}{B} to your mana pool.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BasicManaEffect(new Mana(0, 0, 0, 0, 3, 0, 0)), new DiscardCardCost());
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.