Examples of AddCountersSourceEffect


Examples of mage.abilities.effects.common.AddCountersSourceEffect

* @author BetaSteward_at_googlemail.com
*/
public class LevelUpAbility extends ActivatedAbilityImpl<LevelUpAbility> {

  public LevelUpAbility(ManaCosts costs) {
    super(Zone.BATTLEFIELD, new AddCountersSourceEffect("Level", 1), costs);
    this.timing = TimingRule.SORCERY;
  }
View Full Code Here

Examples of mage.abilities.effects.common.AddCountersSourceEffect

public class EverflowingChalice extends CardImpl<EverflowingChalice> {

  public EverflowingChalice(UUID ownerId) {
    super(ownerId, 123, "Everflowing Chalice", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{0}");
    this.expansionSetCode = "WWK";
    MultikickerAbility ability = new MultikickerAbility(new AddCountersSourceEffect("charge", 1), false);
    ability.addManaCost(new GenericManaCost(2));
    this.addAbility(ability);
    this.addAbility(new EverflowingChaliceAbility());
  }
View Full Code Here

Examples of mage.abilities.effects.common.AddCountersSourceEffect

  public SunspringExpedition(UUID ownerId) {
    super(ownerId, 37, "Sunspring Expedition", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{W}");
    this.expansionSetCode = "ZEN";
    this.color.setWhite(true);

    this.addAbility(new LandfallAbility(new AddCountersSourceEffect("quest", 1), true));
    Costs costs = new CostsImpl();
    costs.add(new RemoveCountersSourceCost("quest", 3));
    costs.add(new SacrificeSourceCost());
    ActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(8), costs);
    this.addAbility(ability);
View Full Code Here

Examples of mage.abilities.effects.common.AddCountersSourceEffect

}

class BeastmasterAscensionAbility extends TriggeredAbilityImpl<BeastmasterAscensionAbility> {

  public BeastmasterAscensionAbility() {
    super(Zone.BATTLEFIELD, new AddCountersSourceEffect("quest", 1), true);
  }
View Full Code Here

Examples of mage.abilities.effects.common.counter.AddCountersSourceEffect

        this.expansionSetCode = "ZEN";
        this.subtype.add("Chandra");

        this.color.setRed(true);

        this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(5)), false));

        // +1: Discard a card. If a red card is discarded this way, Chandra Ablaze deals 4 damage to target creature or player.
        LoyaltyAbility ability = new LoyaltyAbility(new ChandraAblazeEffect1(), 1);
        ability.addEffect(new ChandraAblazeEffect2());
        ability.addTarget(new TargetCreatureOrPlayer());
View Full Code Here

Examples of mage.abilities.effects.common.counter.AddCountersSourceEffect

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

        this.addAbility(HasteAbility.getInstance());
        this.addAbility(new AllyEntersBattlefieldTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.counter.AddCountersSourceEffect

    public EssenceBottle(UUID ownerId) {
        super(ownerId, 276, "Essence Bottle", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{2}");
        this.expansionSetCode = "TMP";
        // {3}, {tap}: Put an elixir counter on Essence Bottle.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new AddCountersSourceEffect(CounterType.ELIXIR.createInstance()),
                new GenericManaCost(3));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
        // {tap}, Remove all elixir counters from Essence Bottle: You gain 2 life for each elixir counter removed this way.
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new EssenceBottleEffect(), new TapSourceCost());
View Full Code Here

Examples of mage.abilities.effects.common.counter.AddCountersSourceEffect

class GraftStaticAbility extends StaticAbility {

    private String ruleText;

    public GraftStaticAbility(int amount) {
        super(Zone.BATTLEFIELD, new EntersBattlefieldEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance(amount))));
        ruleText = new StringBuilder("This enters the battlefield with ").append(amount).append(" +1/+1 counter on it.").toString();
        this.setRuleVisible(false);
    }
View Full Code Here

Examples of mage.abilities.effects.common.counter.AddCountersSourceEffect

        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

        this.addAbility(FirstStrikeAbility.getInstance());
        this.addAbility(VigilanceAbility.getInstance());
        this.addAbility(new AllyEntersBattlefieldTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.counter.AddCountersSourceEffect

* @author LevelX2
*/
public class OutlastAbility extends ActivatedAbilityImpl {

    public OutlastAbility(Cost cost) {
        super(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance()), cost);
        this.addCost(new TapSourceCost());
        this.timing = TimingRule.SORCERY;
    }
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.