Package mage.game.permanent.token

Examples of mage.game.permanent.token.ElfToken


    public HuntingTriad(UUID ownerId) {
        super(ownerId, 127, "Hunting Triad", Rarity.UNCOMMON, new CardType[]{CardType.TRIBAL, CardType.SORCERY}, "{3}{G}");
        this.expansionSetCode = "MOR";
        this.subtype.add("Elf");
        this.color.setGreen(true);
        this.getSpellAbility().addEffect(new CreateTokenEffect(new ElfToken(), 3));
        this.addAbility(new ReinforceAbility(3, new ManaCostsImpl("{3}{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

}

class FlourishingDefensesTriggeredAbility extends TriggeredAbilityImpl {

    FlourishingDefensesTriggeredAbility() {
        super(Zone.BATTLEFIELD, new CreateTokenEffect(new ElfToken()), true);
    }
View Full Code Here

        this.getSpellAbility().addEffect(new AttachEffect(Outcome.PutCreatureInPlay));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
        this.addAbility(ability);

        // Enchanted creature has "{tap}: Put a 1/1 green Elf Warrior creature token onto the battlefield."
        Ability abilityToGain = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new ElfToken()), new TapSourceCost());
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(abilityToGain, AttachmentType.AURA, Duration.WhileOnBattlefield,
                "Enchanted creature has \"{t}: Put a 1/1 green Elf Warrior creature token onto the battlefield.\"")));
    }
View Full Code Here

    public ElvishPromenade(UUID ownerId) {
        super(ownerId, 208, "Elvish Promenade", Rarity.UNCOMMON, new CardType[]{CardType.TRIBAL, CardType.SORCERY}, "{3}{G}");
        this.expansionSetCode = "LRW";
        this.subtype.add("Elf");
        this.color.setGreen(true);
        this.getSpellAbility().addEffect(new CreateTokenEffect(new ElfToken(), new PermanentsOnBattlefieldCount(filter)));
    }
View Full Code Here

        this.subtype.add("Elf");
        this.subtype.add("Warrior");
        this.color.setGreen(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(3);
        this.addAbility(new SpellCastControllerTriggeredAbility(new CreateTokenEffect(new ElfToken()), filter, true));
    }
View Full Code Here

        this.subtype.add("Warrior");
        this.color.setGreen(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter, true)));
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new ElfToken(), 1), new ColoredManaCost(ColoredManaSymbol.G));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

        Ability ability = new BeginningOfUpkeepTriggeredAbility(effect, TargetController.YOU, true);
        ability.addTarget(new TargetOpponent());
        this.addAbility(ability);

        // Whenever an opponent discards a card, you may put a 1/1 green Elf Warrior creature token onto the battlefield.
        Effect effect2 = new CreateTokenEffect(new ElfToken());
        effect2.setText("you may put a 1/1 green Elf Warrior creature token onto the battlefield");
        this.addAbility(new DiscardsACardOpponentTriggeredAbility(effect2, true));

    }
View Full Code Here

TOP

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

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.