Examples of TapSourceEffect


Examples of mage.abilities.effects.common.TapSourceEffect

        super(ownerId, 249, "Woodland Cemetery", Rarity.RARE, new CardType[]{CardType.LAND}, null);
        this.expansionSetCode = "ISD";

        Condition controls = new InvertCondition(new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.MORE_THAN, 0));
        String abilityText = "tap it unless you control a Swamp or a Forest";
        this.addAbility(new EntersBattlefieldAbility(new ConditionalOneShotEffect(new TapSourceEffect(), controls, abilityText), abilityText));
        this.addAbility(new BlackManaAbility());
        this.addAbility(new GreenManaAbility());
    }
View Full Code Here

Examples of mage.abilities.effects.common.TapSourceEffect

        super(ownerId, 281, "Vesuva", Rarity.RARE, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "TSP";

        // You may have Vesuva enter the battlefield tapped as a copy of any land on the battlefield.
        EntersBattlefieldEffect effect = new EntersBattlefieldEffect(
                new TapSourceEffect(true),
                "You may have {this} enter the battlefield tapped as a copy of any land on the battlefield",
                true);
        effect.addEffect(new CopyPermanentEffect(filter));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
    }
View Full Code Here

Examples of mage.abilities.effects.common.TapSourceEffect

        super(ownerId, 229, "Seachrome Coast", Rarity.RARE, new CardType[]{CardType.LAND}, null);
        this.expansionSetCode = "SOM";

        Condition controls = new InvertCondition(new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.FEWER_THAN, 4));
        String abilityText = "tap it unless you control fewer than 3 lands";
        this.addAbility(new EntersBattlefieldAbility(new ConditionalOneShotEffect(new TapSourceEffect(), controls, abilityText), abilityText));
        this.addAbility(new WhiteManaAbility());
        this.addAbility(new BlueManaAbility());
    }
View Full Code Here

Examples of mage.abilities.effects.common.TapSourceEffect

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

        // Whenever a player casts a spell, tap Ogre Recluse.
        this.addAbility(new SpellCastAllTriggeredAbility(new TapSourceEffect(), false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.TapSourceEffect

        this.expansionSetCode = "SOM";

        // Copperline Gorge enters the battlefield tapped unless you control two or fewer other lands.
        Condition controls = new InvertCondition(new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.FEWER_THAN, 4));
        String abilityText = "tapped unless you control two or fewer other lands";
        this.addAbility(new EntersBattlefieldAbility(new ConditionalOneShotEffect(new TapSourceEffect(), controls, abilityText), abilityText));
        this.addAbility(new RedManaAbility());
        this.addAbility(new GreenManaAbility());
    }
View Full Code Here

Examples of mage.abilities.effects.common.TapSourceEffect

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Discard a card: Prognostic Sphinx gains hexproof until end of turn. Tap it.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(HexproofAbility.getInstance(), Duration.EndOfTurn), new DiscardCardCost());
        Effect effect = new TapSourceEffect();
        effect.setText("Tap it");
        ability.addEffect(effect);
        this.addAbility(ability);
        // Whenever Prognostic Sphinx attacks, scry 3.</i>
        this.addAbility(new AttacksTriggeredAbility(new ScryEffect(3), false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.TapSourceEffect

    public VividCrag(UUID ownerId) {
        super(ownerId, 275, "Vivid Crag", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "LRW";
        // Vivid Crag enters the battlefield tapped with two charge counters on it.
        EntersBattlefieldEffect effect = new EntersBattlefieldEffect(new TapSourceEffect(true), "{this} enters the battlefield tapped with two charge counters on it");
        effect.addEffect(new AddCountersSourceEffect(CounterType.CHARGE.createInstance(2)));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
        // {tap}: Add {R} to your mana pool.
        this.addAbility(new RedManaAbility());
        // {tap}, Remove a charge counter from Vivid Crag: Add one mana of any color to your mana pool.
View Full Code Here

Examples of mage.abilities.effects.common.TapSourceEffect

        super(ownerId, 228, "Razorverge Thicket", Rarity.RARE, new CardType[]{CardType.LAND}, null);
        this.expansionSetCode = "SOM";

        Condition controls = new InvertCondition(new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.FEWER_THAN, 4));
        String abilityText = "tap it unless you control fewer than 3 lands";
        this.addAbility(new EntersBattlefieldAbility(new ConditionalOneShotEffect(new TapSourceEffect(), controls, abilityText), abilityText));
        this.addAbility(new GreenManaAbility());
        this.addAbility(new WhiteManaAbility());
    }
View Full Code Here

Examples of mage.abilities.effects.common.TapSourceEffect

        super(ownerId, 227, "Rootbound Crag", Rarity.RARE, new CardType[]{CardType.LAND}, null);
        this.expansionSetCode = "M10";

        Condition controls = new InvertCondition(new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.MORE_THAN, 0));
        String abilityText = "tap it unless you control a Mountain or a Forest";
        this.addAbility(new EntersBattlefieldAbility(new ConditionalOneShotEffect(new TapSourceEffect(), controls, abilityText), abilityText));
        this.addAbility(new RedManaAbility());
        this.addAbility(new GreenManaAbility());
    }
View Full Code Here

Examples of mage.abilities.effects.common.TapSourceEffect

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

        // Whenever another creature dies, tap Fleshmad Steed.
        this.addAbility(new DiesCreatureTriggeredAbility(new TapSourceEffect(), false, filter));
    }
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.