Package mage.abilities.mana

Examples of mage.abilities.mana.SimpleManaAbility


    cardType.add(CardType.CREATURE);
    subtype.add("Eldrazi");
    subtype.add("Spawn");
    power = new MageInt(0);
    toughness = new MageInt(1);
    addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new ManaEffect(Mana.ColorlessMana), new SacrificeSourceCost()));
  }
View Full Code Here


        cardType.add(CardType.CREATURE);
        subtype.add("Eldrazi");
        subtype.add("Spawn");
        power = new MageInt(0);
        toughness = new MageInt(1);
        addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, Mana.ColorlessMana, new SacrificeSourceCost()));
        this.setOriginalExpansionSetCode("ROE");
        // Get one of the three possible token images
        this.setTokenType(new Random().nextInt(3) + 1);
    }
View Full Code Here

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

        // {T}: Add {G}{G} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new BasicManaEffect(Mana.GreenMana(2)), new TapSourceCost()));
    }
View Full Code Here

    public AncientTomb(UUID ownerId) {
        super(ownerId, 305, "Ancient Tomb", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "TMP";

        // {tap}: Add  to your mana pool. Ancient Tomb deals 2 damage to you.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, Mana.ColorlessMana(2), new TapSourceCost());
        ability.addEffect(new DamageControllerEffect(2));
        this.addAbility(ability);
    }
View Full Code Here

        // When you play another land, sacrifice City of Traitors.
        this.addAbility(new CityOfTraitorsTriggeredAbility());

        // {tap}: Add {2} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, Mana.ColorlessMana(2), new TapSourceCost()));
    }
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

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

        // Sacrifice Blood Pet: Add {B} to your mana pool.
        this.addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, Mana.BlackMana, new SacrificeSourceCost()));
    }
View Full Code Here

        // {tap}: Add {G} to your mana pool.
        this.addAbility(new GreenManaAbility());

        // {1}: Add {R} or {W} to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, Mana.RedMana, new ManaCostsImpl("{1}"));
        this.addAbility(ability);
        Ability ability2 = new SimpleManaAbility(Zone.BATTLEFIELD, Mana.WhiteMana, new ManaCostsImpl("{1}"));
        this.addAbility(ability2);
    }
View Full Code Here

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

        // {tap}: Add X mana of any one color to your mana pool, where X is the number of Elves on the battlefield.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new WirewoodChannelerManaEffect(), new TapSourceCost());
        ability.addChoice(new ChoiceColor());
        this.addAbility(ability);
    }
View Full Code Here

        this.toughness = new MageInt(1);

        // {T}, Sacrifice Generator Servant: Add {2} to your mana pool.  If that mana is spent on a creature spell, it gains haste until end of turn.
        Mana mana = Mana.ColorlessMana(2);
        mana.setFlag(true); // used to indicate this mana ability
        SimpleManaAbility ability = new SimpleManaAbility(Zone.BATTLEFIELD, mana, new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        ability.getEffects().get(0).setText("Add {2} to your mana pool. If that mana is spent on a creature spell, it gains haste until end of turn.");
        this.addAbility(ability);
       
        this.addWatcher(new GeneratorServantWatcher());
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new GeneratorServantHasteEffect()));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.mana.SimpleManaAbility

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.