Package mage.sets.bornofthegods.TokenAndCounters

Examples of mage.sets.bornofthegods.TokenAndCounters.CatSoldierCreatureToken


        this.toughness = new MageInt(2);

        // Vigilance
        this.addAbility(VigilanceAbility.getInstance());
        // <i>Heroic</i> - Whenever you cast a spell that targets Vanguard of Brimaz, put a 1/1 white Cat Soldier creature token with vigilance onto the battlefield.
        this.addAbility(new HeroicAbility(new CreateTokenEffect(new CatSoldierCreatureToken()), false));
    }
View Full Code Here


        // Vigilance
        this.addAbility(VigilanceAbility.getInstance());
       
        // Whenever Brimaz, King of Oreskos attacks, put a 1/1 white Cat Soldier creature token with vigilance onto the battlefield attacking.
        this.addAbility(new AttacksTriggeredAbility(new CreateTokenEffect(new CatSoldierCreatureToken(), 1, false, true), false));
       
        // Whenever Brimaz blocks a creature, put a 1/1 white Cat Soldier creature token with vigilance onto the battlefield blocking that creature.
        this.addAbility(new BlocksCreatureTriggeredAbility(new BrimazKingOfOreskosEffect(), false, true));
    }
View Full Code Here

    @Override
    public boolean apply(Game game, Ability source) {
        Player controller = game.getPlayer(source.getControllerId());
       
        if (controller != null) {
            Token token = new CatSoldierCreatureToken();
            token.putOntoBattlefield(1, game, source.getSourceId(), source.getControllerId());
            Permanent catToken = game.getPermanent(token.getLastAddedToken());
            Permanent attackingCreature = game.getPermanent(getTargetPointer().getFirst(game, source));           
            if (catToken != null && attackingCreature != null && game.getState().getCombat() != null) {
                // Possible ruling (see Ætherplasm)
                // The token you put onto the battlefield is blocking the attacking creature,
                // even if the block couldn't legally be declared (for example, if that creature
View Full Code Here

TOP

Related Classes of mage.sets.bornofthegods.TokenAndCounters.CatSoldierCreatureToken

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.