Package mage.game.permanent.token

Examples of mage.game.permanent.token.SnakeToken


  public BestialMenace(UUID ownerId) {
    super(ownerId, 97, "Bestial Menace", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{3}{G}{G}");
    this.expansionSetCode = "WWK";
    this.color.setGreen(true);
    this.getSpellAbility().addEffect(new CreateTokenEffect(new SnakeToken()));
    this.getSpellAbility().addEffect(new CreateTokenEffect(new WolfToken()));
    this.getSpellAbility().addEffect(new CreateTokenEffect(new ElephantToken()));
  }
View Full Code Here


        // If a noncreature permanent under your control was destroyed this turn by a spell or ability an opponent controlled, you may pay {G} rather than pay Cobra Trap's mana cost.
        this.getSpellAbility().addAlternativeCost(
                new CobraTrapAlternativeCost());
        this.addWatcher(new CobraTrapWatcher());
        // Put four 1/1 green Snake creature tokens onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new SnakeToken(), 4));
    }
View Full Code Here

        this.expansionSetCode = "BOK";

        this.color.setGreen(true);

        // Put two 1/1 green Snake creature tokens onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new SnakeToken(), 2));

        // Whenever a nontoken Snake enters the battlefield under your control, you may return Sosuke's Summons from your graveyard to your hand.
        this.addAbility(new CreatureEntersBattlefieldTriggeredAbility(Zone.GRAVEYARD, new ReturnSourceFromGraveyardToHandEffect(), filter, true, false));

View Full Code Here

    @Override
    public boolean apply(Game game, Ability source) {
        Permanent targetCreature = game.getPermanentOrLKIBattlefield(getTargetPointer().getFirst(game, source));
        if (targetCreature != null) {
            if (targetCreature.getCounters().containsKey(CounterType.P1P1)) {
                new CreateTokenEffect(new SnakeToken("KTK")).apply(game, source);
            }
            return true;
        }
        return false;
    }
View Full Code Here

    public BestialMenace(UUID ownerId) {
        super(ownerId, 97, "Bestial Menace", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{3}{G}{G}");
        this.expansionSetCode = "WWK";
        this.color.setGreen(true);
        this.getSpellAbility().addEffect(new CreateTokenEffect(new SnakeToken()));
        this.getSpellAbility().addEffect(new CreateTokenEffect(new WolfToken()));
        this.getSpellAbility().addEffect(new CreateTokenEffect(new ElephantToken()));
    }
View Full Code Here

        // Hooded Hydra enters the battlefield with X +1/+1 counters on it.
        this.addAbility(new EntersBattlefieldAbility(new HoodedHydraEffect1(), "with X +1/+1 counters on it"));
       
        // When Hooded Hydra dies, put a 1/1 green Snake creature token onto the battlefield for each +1/+1 counter on it.
        this.addAbility(new DiesTriggeredAbility(new CreateTokenEffect(new SnakeToken("KTK"), new CountersCount(CounterType.P1P1)), false));
       
        // Morph {3}{G}{G}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl("{3}{G}{G}")));
       
        // As Hooded Hydra is turned face up, put five +1/+1 counters on it.
View Full Code Here

    public SnakeBasket(UUID ownerId) {
        super(ownerId, 155, "Snake Basket", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
        this.expansionSetCode = "VIS";

        // {X}, Sacrifice Snake Basket: Put X 1/1 green Snake creature tokens onto the battlefield. Activate this ability only any time you could cast a sorcery.
        Effect effect = new CreateTokenEffect(new SnakeToken(), new ManacostVariableValue());
        Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{X}"));
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

        // Orochi Hatchery enters the battlefield with X charge counters on it.
        this.addAbility(new EntersBattlefieldAbility(new OrochiHatcheryEffect(), "with X charge counters on it"));

        // {5}, {T}: Put a 1/1 green Snake creature token onto the battlefield for each charge counter on Orochi Hatchery.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new SnakeToken(),new CountersCount(CounterType.CHARGE)), new GenericManaCost(5));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

        this.expansionSetCode = "SOK";

        this.color.setGreen(true);

        // Put a 1/1 green Snake creature token onto the battlefield for each card in your hand.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new SnakeToken(), new CardsInControllerHandCount()));
       
        // Epic
        this.getSpellAbility().addEffect(new EpicEffect());
       
    }
View Full Code Here

        // Until end of turn, target creature loses all abilities
        Effect effect = new LoseAllAbilitiesTargetEffect(Duration.EndOfTurn);
        effect.setText("Until end of turn, target creature loses all abilities");
        this.getSpellAbility().addEffect(effect);
        // and becomes a green Snake with base power and toughness 1/1.
        effect = new BecomesCreatureTargetEffect(new SnakeToken(), null, Duration.EndOfTurn);
        effect.setText("and becomes a green Snake with base power and toughness 1/1");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
       
        // Draw a card.
View Full Code Here

TOP

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

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.