Package mage.game.permanent.token

Examples of mage.game.permanent.token.ZombieToken


        // Exile target creature card from a graveyard.
        this.getSpellAbility().addEffect(new ExileTargetEffect());
        this.getSpellAbility().addTarget(new TargetCardInGraveyard(new FilterCreatureCard("creature card from a graveyard")));

        // Put a 2/2 black Zombie creature token onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new ZombieToken("M13")));
    }
View Full Code Here


        for (Card card : player.getGraveyard().getCards(new FilterCreatureCard(), game)) {
            if (card.moveToExile(source.getSourceId(), "Necromancer Covenant", source.getSourceId(), game)) {
                count += 1;
            }
        }
        ZombieToken zombieToken = new ZombieToken("ALA");
        if (zombieToken.putOntoBattlefield(count, game, source.getSourceId(), source.getControllerId())) {
            return true;
        }
        return false;
    }
View Full Code Here

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

        // Morbid - When Wakedancer enters the battlefield, if a creature died this turn, put a 2/2 black Zombie creature token onto the battlefield.
        TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new ZombieToken("ISD")));
        this.addAbility(new ConditionalTriggeredAbility(ability, MorbidCondition.getInstance(), staticText));
    }
View Full Code Here

        this.color.setBlack(true);
        this.subtype.add("Zombie");
        this.subtype.add("Giant");
        this.power = new MageInt(4);
        this.toughness = new MageInt(4);
        this.addAbility(new LeavesBattlefieldTriggeredAbility(new CreateTokenEffect(new ZombieToken("ALA")), false));
        this.addAbility(new UnearthAbility(new ManaCostsImpl("{3}{B}")));
    }
View Full Code Here

}

class NestedGhoulTriggeredAbility extends TriggeredAbilityImpl {
    NestedGhoulTriggeredAbility() {
        super(Zone.BATTLEFIELD, new CreateTokenEffect(new ZombieToken("MBS")));
    }
View Full Code Here

        super(ownerId, 72, "Reap the Seagraf", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{2}{B}");
        this.expansionSetCode = "DKA";

        this.color.setBlack(true);

        this.getSpellAbility().addEffect(new CreateTokenEffect(new ZombieToken("ISD")));
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{4}{U}"), TimingRule.SORCERY));
    }
View Full Code Here

        this.toughness = new MageInt(2);

        // {2}{U}, {tap}, Exile a creature card from your graveyard: Put a 2/2 black Zombie creature token onto the battlefield,
        // then put a +1/+1 counter on each Zombie creature you control.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new CreateTokenEffect(new ZombieToken("ISD")),
                new ManaCostsImpl("{2}{U}"));
        ability.addCost(new TapSourceCost());
        ability.addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(filter)));
        ability.addEffect(new AddCountersAllEffect(CounterType.P1P1.createInstance(), filterPermanent));
        this.addAbility(ability);
View Full Code Here

}

class GraveTitanAbility extends TriggeredAbilityImpl {

    public GraveTitanAbility() {
        super(Zone.BATTLEFIELD, new CreateTokenEffect(new ZombieToken("M11"), 2), false);
    }
View Full Code Here

    @Override
    public boolean apply(Game game, Ability source) {
        Card card = game.getCard(targetPointer.getFirst(game, source));
        if (card != null) {
            if (card.moveToExile(null, "Unscythe Exile", source.getSourceId(), game)) {
                ZombieToken zombie = new ZombieToken("ALA");
                return zombie.putOntoBattlefield(1, game, source.getSourceId(), source.getControllerId());
            }
        }
        return false;
    }
View Full Code Here

TOP

Related Classes of mage.game.permanent.token.ZombieToken

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.