Package mage.game.permanent.token

Examples of mage.game.permanent.token.SquirrelToken


        this.toughness = new MageInt(1);

        // Echo {3}{G}{G}
        this.addAbility(new EchoAbility("{3}{G}{G}"));
        // When Deranged Hermit enters the battlefield, put four 1/1 green Squirrel creature tokens onto the battlefield.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new SquirrelToken(), 4)));
        // Squirrel creatures get +1/+1.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostAllEffect(1, 1, Duration.WhileOnBattlefield, filter, false)));

    }
View Full Code Here


                permanent = (Permanent) game.getLastKnownInformation(targetId, Zone.BATTLEFIELD);
            }
            if (permanent != null) {
                Player player = game.getPlayer(permanent.getControllerId());
                if (player != null) {
                    Token token = new SquirrelToken();
                    token.putOntoBattlefield(damageAmount, game, source.getSourceId(), player.getId());
                    return true;
                }
            }
        }
        return false;
View Full Code Here

        this.expansionSetCode = "ODY";

        this.color.setGreen(true);

        // Put a 1/1 green Squirrel creature token onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new SquirrelToken()));
       
        // Flashback {1}{G}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{1}{G}"), TimingRule.SORCERY));
    }
View Full Code Here

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

        // At the beginning of your upkeep, you may put a 1/1 green Squirrel creature token onto the battlefield.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new SquirrelToken()), TargetController.YOU, true));
        // Threshold - Squirrel creatures get +2/+2 as long as seven or more cards are in your graveyard.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
                                                new ConditionalContinousEffect(new BoostAllEffect(2, 2, Duration.WhileOnBattlefield, filter, false),
                                                new CardsInControllerGraveCondition(7),
                                                "<i>Threshold</i> - Squirrel creatures get +2/+2 as long as seven or more cards are in your graveyard")));
View Full Code Here

        this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
        Ability ability = new EnchantAbility(auraTarget.getTargetName());
        this.addAbility(ability);
       
        // Enchanted land has "{tap}: Put a 1/1 green Squirrel creature token onto the battlefield."
        Ability gainedAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new SquirrelToken()), new TapSourceCost());
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
                new GainAbilityAttachedEffect(gainedAbility, AttachmentType.AURA, Duration.WhileOnBattlefield, "Enchanted land has \"{tap}: Put a 1/1 green Squirrel creature token onto the battlefield.\"")));
    }
View Full Code Here

TOP

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

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.