Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.CreateTokenEffect


        this.subtype.add("Faerie");
        this.color.setBlack(true);

        // At the beginning of your upkeep, you lose 1 life and put a 1/1 black Faerie Rogue creature token with flying onto the battlefield.
        Ability ability = new BeginningOfUpkeepTriggeredAbility(new LoseLifeSourceControllerEffect(1), TargetController.YOU, false);
        ability.addEffect(new CreateTokenEffect(new FaerieToken(), 1));
        this.addAbility(ability);
    }
View Full Code Here


        this.subtype.add("Goblin");
        this.subtype.add("Shaman");
        this.color.setBlack(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(1);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new goblinRogueToken(), 2), new ManaCostsImpl("{3}{B}"));
        ability.addCost(new SacrificeTargetCost(new TargetControlledPermanent(filter)));
        this.addAbility(ability);
    }
View Full Code Here

        // Vigilance
        this.addAbility(VigilanceAbility.getInstance());

        // When Hallowed Spiritkeeper dies, put X 1/1 white Spirit creature tokens with flying onto the battlefield, where X is the number of creature cards in your graveyard.
        this.addAbility(new DiesTriggeredAbility(new CreateTokenEffect(new SpiritToken(), new CardsInControllerGraveyardCount()), false));

    }
View Full Code Here

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

        // Kinship - At the beginning of your upkeep, you may look at the top card of your library. If it shares a creature type with Wolf-Skull Shaman, you may reveal it. If you do, put a 2/2 green Wolf creature token onto the battlefield.
        this.addAbility(new KinshipAbility(new CreateTokenEffect(new WolfToken("LRW"))));
    }
View Full Code Here

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

        // When Walker of the Grove leaves the battlefield, put a 4/4 green Elemental creature token onto the battlefield.
        this.addAbility(new LeavesBattlefieldTriggeredAbility(new CreateTokenEffect(new WalkerOfTheGroveToken(),1),false));
        // Evoke {4}{G}
        this.addAbility(new EvokeAbility(this, "{4}{G}"));
    }
View Full Code Here

        this.subtype.add("Treefolk");
        this.subtype.add("Warrior");
        this.color.setGreen(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(3);
        this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new ElfToken(), 1), false));
    }
View Full Code Here

        this.expansionSetCode = "M14";

        this.color.setWhite(true);

        // Put two 1/1 colorless Sliver creature tokens onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new SliverToken(), 2));
       
    }
View Full Code Here

        this.subtype.add("Angel");
        this.color.setWhite(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(4);
        this.addAbility(FlyingAbility.getInstance());
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(new CreateTokenEffect(new SpiritWhiteToken(), 1), TargetController.YOU, true));
    }
View Full Code Here

}

class MongrelPackAbility extends ZoneChangeTriggeredAbility {

    public MongrelPackAbility() {
        super(Zone.BATTLEFIELD, Zone.GRAVEYARD, new CreateTokenEffect(new HoundToken(), 4), "When {this} dies during combat, ", false);
    }
View Full Code Here

        this.expansionSetCode = "M14";

        this.color.setWhite(true);

        // At the beginning of each end step, if you gained 4 or more life this turn, put a 4/4 white Angel creature token with flying onto the battlefield.
        this.addAbility(new BeginningOfEndStepTriggeredAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new AngelToken()), TargetController.ANY, new YouGainedLifeCondition(Condition.ComparisonType.GreaterThan, 3), false));
        this.addWatcher(new PlayerGainedLifeWatcher());
    }
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.