Examples of WolfToken


Examples of mage.game.permanent.token.WolfToken

        Player player = game.getPlayer(source.getControllerId());
        if (player.choose(Outcome.PutCreatureInPlay, target, source.getSourceId(), game)) {
            Permanent permanent = game.getPermanent(target.getFirstTarget());
            if (permanent != null && permanent.sacrifice(source.getSourceId(), game)) {
                int toughness = permanent.getToughness().getValue();
                WolfToken token = new WolfToken();
                token.putOntoBattlefield(toughness, game, source.getSourceId(), source.getControllerId());
                return true;
            }
        }
        return false;
    }
View Full Code Here

Examples of mage.game.permanent.token.WolfToken

    public FableOfWolfAndOwl(UUID ownerId) {
        super(ownerId, 150, "Fable of Wolf and Owl", Rarity.RARE, new CardType[]{CardType.ENCHANTMENT}, "{3}{G/U}{G/U}{G/U}");
        this.expansionSetCode = "EVE";
        this.color.setBlue(true);
        this.color.setGreen(true);
        this.addAbility(new SpellCastControllerTriggeredAbility(new CreateTokenEffect(new WolfToken(), 1), filterGreenSpell, true));
        this.addAbility(new SpellCastControllerTriggeredAbility(new CreateTokenEffect(new OwlToken(), 1), filterBlueSpell, true));
    }
View Full Code Here

Examples of mage.game.permanent.token.WolfToken

}

class SwordOfBodyAndMindAbility extends TriggeredAbilityImpl {

    public SwordOfBodyAndMindAbility() {
        super(Zone.BATTLEFIELD, new CreateTokenEffect(new WolfToken()));
        this.addEffect(new PutLibraryIntoGraveTargetEffect(10));
    }
View Full Code Here

Examples of mage.game.permanent.token.WolfToken

}

class HuntmasterOfTheFellsAbility extends TriggeredAbilityImpl {

    public HuntmasterOfTheFellsAbility() {
        super(Zone.BATTLEFIELD, new CreateTokenEffect(new WolfToken(Token.Type.SECOND)), false);
        this.addEffect(new GainLifeEffect(2));
    }
View Full Code Here

Examples of mage.game.permanent.token.WolfToken

    public HowlOfTheNightPack(UUID ownerId) {
        super(ownerId, 187, "Howl of the Night Pack", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{6}{G}");
        this.expansionSetCode = "M10";
        this.color.setGreen(true);
        this.getSpellAbility().addEffect(new CreateTokenEffect(new WolfToken(), new PermanentsOnBattlefieldCount(filter)));
    }
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.