Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.CreateTokenEffect


        this.color.setBlue(true);

        this.getSpellAbility().addTarget(new TargetSpell(filter));
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addEffect(new CreateTokenEffect(new IllusionToken()));
    }
View Full Code Here


        // If an opponent had an artifact enter the battlefield under his or her control this turn, you may pay {1}{G} rather than pay Baloth Cage Trap's mana cost.
        this.getSpellAbility().addAlternativeCost(new BalothCageTrapAlternativeCost());
        this.addWatcher(new BalothCageTrapWatcher());

        // Put a 4/4 green Beast creature token onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new BeastGreenToken()));
    }
View Full Code Here

        this.subtype.add("Beast");
        this.color.setGreen(true);
        this.power = new MageInt(6);
        this.toughness = new MageInt(6);
        this.addAbility(TrampleAbility.getInstance());
        this.addAbility(new LandfallAbility(new CreateTokenEffect(new RampagingBalothsToken()), true));
    }
View Full Code Here

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

        this.addAbility(FlyingAbility.getInstance());
        this.addAbility(new LandfallAbility(new CreateTokenEffect(new BirdToken()), true));
    }
View Full Code Here

        this.expansionSetCode = "ZEN";
        this.color.setWhite(true);

        this.addAbility(new KickerAbility("{6}"));

        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new CreateTokenEffect(new KorSoldierToken(), 12),
                new CreateTokenEffect(new KorSoldierToken(), 6), KickedCondition.getInstance(),
                "Put six 1/1 white Kor Soldier creature tokens onto the battlefield. If {this} was kicked, put twelve of those tokens onto the battlefield instead"));
    }
View Full Code Here

    public ToothAndClaw(UUID ownerId) {
        super(ownerId, 210, "Tooth and Claw", Rarity.RARE, new CardType[]{CardType.ENCHANTMENT}, "{3}{R}");
        this.expansionSetCode = "TMP";
        this.color.setRed(true);
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new CarnivoreToken(), 1), new SacrificeTargetCost(new TargetControlledCreaturePermanent(2))));
    }
View Full Code Here

        this.color.setWhite(true);

        // At the beginning of your upkeep, if there are no Reflection tokens on the battlefield, put a 2/2 white Reflection creature token onto the battlefield.
        this.addAbility(new ConditionalTriggeredAbility(
                new BeginningOfUpkeepTriggeredAbility(new CreateTokenEffect(new ReflectionToken()), TargetController.YOU, false),
                new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.EQUAL_TO, 0, false),
                "At the beginning of your upkeep, if there are no Reflection tokens on the battlefield, put a 2/2 white Reflection creature token onto the battlefield"));

        // {0}: Destroy target Reflection.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new GenericManaCost(0));
View Full Code Here

}

class LullmageMentorTriggeredAbility extends TriggeredAbilityImpl {

    public LullmageMentorTriggeredAbility() {
        super(Zone.BATTLEFIELD, new CreateTokenEffect(new MerfolkToken()), false);
    }
View Full Code Here

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

        // Whenever Turntimber Ranger or another Ally enters the battlefield under your control, you may put a 2/2 green Wolf creature token onto the battlefield. If you do, put a +1/+1 counter on Turntimber Ranger.
        Ability ability = new AllyEntersBattlefieldTriggeredAbility(new CreateTokenEffect(new WolfToken()), true);
        ability.addEffect(new AddCountersSourceEffect(CounterType.P1P1.createInstance()));
        this.addAbility(ability);
    }
View Full Code Here

        // Whenever a creature dies, you may put a quest counter on Quest for the Gravelord.
        this.addAbility(new DiesCreatureTriggeredAbility(new AddCountersSourceEffect(CounterType.QUEST.createInstance()), true));
        // Remove three quest counters from Quest for the Gravelord and sacrifice it: Put a 5/5 black Zombie Giant creature token onto the battlefield.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new CreateTokenEffect(new ZombieToken()),
                new RemoveCountersSourceCost(CounterType.QUEST.createInstance(3)));
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.CreateTokenEffect

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.