Package mage.abilities.keyword

Examples of mage.abilities.keyword.UnearthAbility


    this.toughness = new MageInt(4);

    this.addAbility(FlyingAbility.getInstance());
    this.addAbility(HasteAbility.getInstance());
    this.addAbility(new OnEventTriggeredAbility(EventType.END_TURN_STEP_PRE, "beginning of the end step", new SacrificeSourceEffect()));
    this.addAbility(new UnearthAbility(new ManaCostsImpl("{4}{R}")));

  }
View Full Code Here


    this.power = new MageInt(3);
    this.toughness = new MageInt(1);

    this.addAbility(HasteAbility.getInstance());
    this.addAbility(new OnEventTriggeredAbility(EventType.END_TURN_STEP_PRE, "beginning of the end step", new SacrificeSourceEffect()));
    this.addAbility(new UnearthAbility(new ManaCostsImpl("{1}{R}")));

  }
View Full Code Here

        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

        Player controller = game.getPlayer(source.getControllerId());
        if (controller != null) {
            for (UUID cardId : controller.getGraveyard()) {
                Card card = game.getCard(cardId);
                if (card != null && card.getCardType().contains(CardType.CREATURE)) {
                    UnearthAbility ability = new UnearthAbility(new ManaCostsImpl("{2}{B}"));
                    ability.setSourceId(cardId);
                    ability.setControllerId(card.getOwnerId());
                    game.getState().addOtherAbility(cardId, ability);
                }
            }
            return true;
        }
View Full Code Here

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Whenever Sedraxis Specter deals combat damage to a player, that player discards a card.
        this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new DiscardTargetEffect(1), false, true));
        // Unearth {1}{B}
        this.addAbility(new UnearthAbility(new ManaCostsImpl("{1}{B}")));
    }
View Full Code Here

        this.toughness = new MageInt(3);

        // When Scourge Devil enters the battlefield, creatures you control get +1/+0 until end of turn.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new BoostControlledEffect(1, 0, Duration.EndOfTurn)));
        // Unearth {2}{R}
        this.addAbility(new UnearthAbility(new ManaCostsImpl("{2}{R}")));
    }
View Full Code Here

        // {tap}: You may tap or untap another target permanent.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new MayTapOrUntapTargetEffect(), new TapSourceCost());
        ability.addTarget(new TargetPermanent(filter));
        this.addAbility(ability);
        // Unearth {U}
        this.addAbility(new UnearthAbility(new ManaCostsImpl("{U}")));
    }
View Full Code Here

        this.subtype.add("Soldier");
        this.color.setBlue(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        this.addAbility(FlyingAbility.getInstance());
        this.addAbility(new UnearthAbility(new ManaCostsImpl("{2}{U}")));
    }
View Full Code Here

        // At the beginning of the end step, sacrifice Hellspark Elemental.
        this.addAbility(new OnEventTriggeredAbility(EventType.END_TURN_STEP_PRE, "beginning of the end step", true, new SacrificeSourceEffect()));

        // Unearth {1}{R} ({1}{R}: Return this card from your graveyard to the battlefield. It gains haste. Exile it at the beginning of the next end step or if it would leave the battlefield. Unearth only as a sorcery.)
        this.addAbility(new UnearthAbility(new ManaCostsImpl("{1}{R}")));
    }
View Full Code Here

        // {tap}: Vithian Stinger deals 1 damage to target creature or player.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
        // Unearth {1}{R}
        this.addAbility(new UnearthAbility(new ManaCostsImpl("{1}{R}")));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.keyword.UnearthAbility

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.