Examples of BecomesCreatureTargetEffect


Examples of mage.abilities.effects.common.continious.BecomesCreatureTargetEffect

        this.subtype.add("Treefolk");
        this.subtype.add("Shaman");
        this.color.setBlack(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(5);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureTargetEffect(new FendeepSummonerToken(), "land", Duration.EndOfTurn), new TapSourceCost());
        ability.addTarget(new TargetLandPermanent(0, 2, filter, false));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.continious.BecomesCreatureTargetEffect

public class LifesparkSpellbomb extends CardImpl {

    public LifesparkSpellbomb(UUID ownerId) {
        super(ownerId, 197, "Lifespark Spellbomb", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{1}");
        this.expansionSetCode = "MRD";
        Ability firstAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureTargetEffect(new LifesparkSpellbombToken(), "land", Duration.EndOfTurn), new ColoredManaCost(ColoredManaSymbol.G));
        firstAbility.addCost(new SacrificeSourceCost());
        firstAbility.addTarget(new TargetLandPermanent());
        this.addAbility(firstAbility);
        Ability secondAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), new GenericManaCost(1));
        secondAbility.addCost(new SacrificeSourceCost());
View Full Code Here

Examples of mage.abilities.effects.common.continious.BecomesCreatureTargetEffect

        // {R}{G}: Creatures you control gain trample until end of turn.
        this.addAbility(new SimpleActivatedAbility(
                Zone.BATTLEFIELD, new GainAbilityAllEffect(TrampleAbility.getInstance(), Duration.EndOfTurn, new FilterControlledCreaturePermanent(), "Creatures you control gain trample until end of turn"),
                new ManaCostsImpl("{R}{G}")));
        // {1}{R}{G}: Target land you control becomes a 4/4 Elemental creature until end of turn. It's still a land.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesCreatureTargetEffect(new SkarrgGuildmageToken(), "land", Duration.EndOfTurn), new ManaCostsImpl("{1}{R}{G}") );
        ability.addTarget(new TargetLandPermanent(filter));
        this.addAbility(ability);

    }
View Full Code Here

Examples of mage.abilities.effects.common.continious.BecomesCreatureTargetEffect

        this.power = new MageInt(4);
        this.toughness = new MageInt(3);

    // {G}: Target land becomes a 1/1 creature until end of turn. It's still a land.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new BecomesCreatureTargetEffect(new KamahlFistOfKrosaLandToken(), "land", Duration.EndOfTurn),
                new ManaCostsImpl("{G}"));
    ability.addTarget(new TargetLandPermanent());
    this.addAbility(ability);
   
        // {2}{G}{G}{G}: Creatures you control get +3/+3 and gain trample until end of turn.
View Full Code Here

Examples of mage.abilities.effects.common.continious.BecomesCreatureTargetEffect

        this.color.setGreen(true);

        this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(3)), false));
       
        // +1: Target land you control becomes a 4/4 Elemental creature with trample.  It's still a land.
        LoyaltyAbility ability = new LoyaltyAbility(new BecomesCreatureTargetEffect(new NissaWorldwakerToken(), "land", Duration.Custom), 1);
        ability.addTarget(new TargetLandPermanent(filter));
        this.addAbility(ability);

        // +1: Untap up to four target Forests.
        ability = new LoyaltyAbility(new UntapTargetEffect(), 1);
View Full Code Here

Examples of mage.abilities.effects.common.continious.BecomesCreatureTargetEffect

            if (target.getTargets().size() > 0) {
                for (UUID cardId: target.getTargets()) {
                    Card card = player.getLibrary().getCard(cardId, game);
                    if (card != null) {
                        if (player.putOntoBattlefieldWithInfo(card, game, Zone.LIBRARY, source.getSourceId())) {
                            ContinuousEffect effect = new BecomesCreatureTargetEffect(new NissaWorldwakerToken(), "land", Duration.Custom);
                            effect.setTargetPointer(new FixedTarget(card.getId()));
                            game.addEffect(effect, source);                                                   
                        }                                            
                    }
                }
            }
View Full Code Here

Examples of mage.abilities.effects.common.continious.BecomesCreatureTargetEffect

    }

    @Override
    public boolean apply(Game game, Ability source) {
        int amount = new PermanentsOnBattlefieldCount(filterAllies).calculate(game, source, this);
        ContinuousEffect effect = new BecomesCreatureTargetEffect(new VastwoodAnimistElementalToken(amount), "land", Duration.EndOfTurn);
        effect.setTargetPointer(targetPointer);
        game.addEffect(effect, source);
        return false;
    }
View Full Code Here

Examples of mage.abilities.effects.common.continious.BecomesCreatureTargetEffect

        this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(3)), false));
       
        // +1: Untap target Mountain. It becomes a 4/4 red Elemental creature until end of turn. It's still a land.
        Ability ability = new LoyaltyAbility(new UntapTargetEffect(), 1);
        ability.addEffect(new BecomesCreatureTargetEffect(new KothOfTheHammerToken(), "land", Duration.EndOfTurn));
        ability.addTarget(new TargetLandPermanent(filter));
        this.addAbility(ability);

        // -2: Add {R} to your mana pool for each Mountain you control.
        this.addAbility(new LoyaltyAbility(new DynamicManaEffect(Mana.RedMana, new PermanentsOnBattlefieldCount(filterCount)), -2));
View Full Code Here

Examples of mage.abilities.effects.common.continious.BecomesCreatureTargetEffect

    }
   
    @Override
    public boolean apply(Game game, Ability source) {
        int xValue = new PermanentsOnBattlefieldCount(filter).calculate(game, source, this);
        ContinuousEffect effect = new BecomesCreatureTargetEffect(new ElvishBranchbenderToken(xValue), "", Duration.EndOfTurn);
        effect.setTargetPointer(targetPointer);
        game.addEffect(effect, source);
        return false;
    }
View Full Code Here

Examples of mage.abilities.effects.common.continious.BecomesCreatureTargetEffect

        // Until end of turn, target creature loses all abilities
        Effect effect = new LoseAllAbilitiesTargetEffect(Duration.EndOfTurn);
        effect.setText("Until end of turn, target creature loses all abilities");
        this.getSpellAbility().addEffect(effect);
        // and becomes a green Snake with base power and toughness 1/1.
        effect = new BecomesCreatureTargetEffect(new SnakeToken(), null, Duration.EndOfTurn);
        effect.setText("and becomes a green Snake with base power and toughness 1/1");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
       
        // Draw a card.
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.