Examples of AddCountersSourceEffect


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

        this.expansionSetCode = "ZEN";

        this.color.setRed(true);

        // Landfall - Whenever a land enters the battlefield under your control, you may put a quest counter on Zektar Shrine Expedition.
        this.addAbility(new LandfallAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.QUEST.createInstance()), true));
        // Remove three quest counters from Zektar Shrine Expedition and sacrifice it: Put a 7/1 red Elemental creature token with trample and haste onto the battlefield. Exile it at the beginning of the next end step.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ZektarShrineExpeditionEffect(), new RemoveCountersSourceCost(CounterType.QUEST.createInstance(3)));
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

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

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

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

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

* @author LevelX2
*/
public class DethroneAbility extends TriggeredAbilityImpl {

    public DethroneAbility() {
        super(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance()), false);
    }
View Full Code Here

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

}

class CosisTricksterTriggeredAbility extends TriggeredAbilityImpl {

    public CosisTricksterTriggeredAbility() {
        super(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance()), true);
    }
View Full Code Here

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

   
   
    private String ruleText;
   
    public FadingAbility(int fadeCounter, Card card) {
        super(new AddCountersSourceEffect(CounterType.FADE.createInstance(fadeCounter)), "with");
        Ability ability = new BeginningOfUpkeepTriggeredAbility(new FadingEffect(), TargetController.YOU, false);
        ability.setRuleVisible(false);
        card.addAbility(ability);
        StringBuilder sb = new StringBuilder("Fading ");
        sb.append(fadeCounter);
View Full Code Here

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

public class CumulativeUpkeepAbility extends BeginningOfUpkeepTriggeredAbility {
   
    private Cost cumulativeCost;
   
    public CumulativeUpkeepAbility(Cost cumulativeCost) {
        super(new AddCountersSourceEffect(CounterType.AGE.createInstance()), TargetController.YOU, false);
        this.addEffect(new CumulativeUpkeepEffect(cumulativeCost));
        this.cumulativeCost = cumulativeCost;
    }
View Full Code Here

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

    public NissaRevane(UUID ownerId) {
        super(ownerId, 170, "Nissa Revane", Rarity.MYTHIC, new CardType[]{ CardType.PLANESWALKER }, "{2}{G}{G}");
        this.expansionSetCode = "ZEN";
        this.subtype.add("Nissa");
        this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(2)), false));

        this.color.setGreen(true);

        LoyaltyAbility ability1 = new LoyaltyAbility(new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(1, nissasChosenFilter)), 1);
        this.addAbility(ability1);
View Full Code Here

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

}

class QuestForTheGembladesTriggeredAbility extends TriggeredAbilityImpl {

    public QuestForTheGembladesTriggeredAbility() {
        super(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.QUEST.createInstance()), true);
    }
View Full Code Here

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

        // Kicker {3}
        this.addAbility(new KickerAbility("{3}"));

        // If AEther Figment was kicked, it enters the battlefield with two +1/+1 counters on it
        Ability ability = new EntersBattlefieldAbility(new ConditionalOneShotEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance(2)), KickedCondition.getInstance(), ""), staticText);
        this.addAbility(ability);
    }
View Full Code Here

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

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

        Ability ability = new LandfallAbility(new LoseLifeTargetEffect(3), true);
        ability.addEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance(3)));
        ability.addTarget(new TargetPlayer());
        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.