Package mage.game.permanent.token

Examples of mage.game.permanent.token.ZombieToken


        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()), false));
        this.addAbility(new UnearthAbility(new ManaCostsImpl("{3}{B}")));
    }
View Full Code Here


        this.expansionSetCode = "TMP";

        this.color.setBlack(true);

        // When Sarcomancy enters the battlefield, put a 2/2 black Zombie creature token onto the battlefield.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new ZombieToken(), 1), false));
        // At the beginning of your upkeep, if there are no Zombies on the battlefield, Sarcomancy deals 1 damage to you.
        this.addAbility(new ConditionalTriggeredAbility(
                new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new DamageControllerEffect(1), TargetController.YOU, false),
                new PermanentsOnTheBattlefieldCondition(new FilterPermanent("Zombie", "Zombies"), PermanentsOnTheBattlefieldCondition.CountType.EQUAL_TO, 0, false),
                "At the beginning of your upkeep, if there are no Zombies on the battlefield, {this} deals 1 damage to you."));       
View Full Code Here

}

class GraveTitanAbility extends TriggeredAbilityImpl<GraveTitanAbility> {

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

        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 ExileTargetEffect(), new ManaCostsImpl("{2}{B}"));
        ability.addCost(new TapSourceCost());
        ability.addEffect(new CreateTokenEffect(new ZombieToken("M12")));
        ability.addTarget(new TargetCardInGraveyard(new FilterCreatureCard("creature card from a graveyard")));
        this.addAbility(ability);
    }
View Full Code Here

        this.addAbility(FlyingAbility.getInstance());
        // Trample
        this.addAbility(TrampleAbility.getInstance());
        // At the beginning of your upkeep, sacrifice a non-Zombie creature, then put a 2/2 black Zombie creature token onto the battlefield.
        Ability ability = new BeginningOfUpkeepTriggeredAbility(new SacrificeControllerEffect(filter, 1, ""), TargetController.YOU, false);
        ability.addEffect(new CreateTokenEffect(new ZombieToken("ALA")));
        this.addAbility(ability);
    }
View Full Code Here

        this.expansionSetCode = "ISD";

        this.color.setBlack(true);

        // Put thirteen 2/2 black Zombie creature tokens onto the battlefield tapped.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new ZombieToken("ISD"), 13, true, false));

        // Flashback {7}{B}{B}{B}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{7}{B}{B}{B}"), TimingRule.SORCERY));
    }
View Full Code Here

        this.color.setBlack(true);

        // At the beginning of your upkeep, put X 2/2 black Zombie creature tokens onto the battlefield,
        // where X is half the number of Zombies you control, rounded down.
        this.addAbility(new OnEventTriggeredAbility(EventType.UPKEEP_STEP_PRE, "beginning of your upkeep",
                new CreateTokenEffect(new ZombieToken("ISD"), new HalfZombiesCount())));

    }
View Full Code Here

        // Delve
        this.addAbility(new DelveAbility());
       
        // Put X 2/2 black Zombie creature tokens onto the battlefield tapped.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new ZombieToken(), new ManacostVariableValue(), true, false));
    }
View Full Code Here

        // Deathtouch
        this.addAbility(DeathtouchAbility.getInstance());
        // Whenever Liliana's Reaver deals combat damage to a player, that player discards a card and you put a 2/2 black Zombie creature token onto the battlefield tapped.

        Ability ability = new DealsCombatDamageToAPlayerTriggeredAbility(new DiscardTargetEffect(1),false, true);
        ability.addEffect(new CreateTokenEffect(new ZombieToken("M14"), 1, true, false));
        this.addAbility(ability);
    }
View Full Code Here

        if (player != null && player.getLibrary().size() > 0) {
            Card card = player.getLibrary().removeFromBottom(game);
            if (card != null) {
                card.moveToZone(Zone.GRAVEYARD, source.getSourceId(), game, true);
                if (card.getCardType().contains(CardType.CREATURE)) {
                    ZombieToken token = new ZombieToken("ISD");
                    token.putOntoBattlefield(1, game, source.getSourceId(), source.getControllerId());
                }
            }
            return true;
        }
        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.