mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Fixed Talrand Sky Summoner
This commit is contained in:
parent
6d670fa3ff
commit
1b7a682c01
1 changed files with 11 additions and 1 deletions
|
@ -34,6 +34,8 @@ import mage.MageInt;
|
||||||
import mage.abilities.common.SpellCastTriggeredAbility;
|
import mage.abilities.common.SpellCastTriggeredAbility;
|
||||||
import mage.abilities.effects.common.CreateTokenEffect;
|
import mage.abilities.effects.common.CreateTokenEffect;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
|
import mage.filter.Filter;
|
||||||
|
import mage.filter.FilterSpell;
|
||||||
import mage.game.permanent.token.DrakeToken;
|
import mage.game.permanent.token.DrakeToken;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -42,6 +44,14 @@ import mage.game.permanent.token.DrakeToken;
|
||||||
*/
|
*/
|
||||||
public class TalrandSkySummoner extends CardImpl<TalrandSkySummoner> {
|
public class TalrandSkySummoner extends CardImpl<TalrandSkySummoner> {
|
||||||
|
|
||||||
|
private static final FilterSpell filter = new FilterSpell("instant or sorcery card");
|
||||||
|
|
||||||
|
static {
|
||||||
|
filter.getCardType().add(CardType.INSTANT);
|
||||||
|
filter.getCardType().add(CardType.SORCERY);
|
||||||
|
filter.setScopeSubtype(Filter.ComparisonScope.Any);
|
||||||
|
}
|
||||||
|
|
||||||
public TalrandSkySummoner(UUID ownerId) {
|
public TalrandSkySummoner(UUID ownerId) {
|
||||||
super(ownerId, 72, "Talrand, Sky Summoner", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{2}{U}{U}");
|
super(ownerId, 72, "Talrand, Sky Summoner", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{2}{U}{U}");
|
||||||
this.expansionSetCode = "M13";
|
this.expansionSetCode = "M13";
|
||||||
|
@ -54,7 +64,7 @@ public class TalrandSkySummoner extends CardImpl<TalrandSkySummoner> {
|
||||||
this.toughness = new MageInt(2);
|
this.toughness = new MageInt(2);
|
||||||
|
|
||||||
// Whenever you cast an instant or sorcery spell, put a 2/2 blue Drake creature token with flying onto the battlefield.
|
// Whenever you cast an instant or sorcery spell, put a 2/2 blue Drake creature token with flying onto the battlefield.
|
||||||
this.addAbility(new SpellCastTriggeredAbility(new CreateTokenEffect(new DrakeToken()), false));
|
this.addAbility(new SpellCastTriggeredAbility(new CreateTokenEffect(new DrakeToken()), filter, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TalrandSkySummoner(final TalrandSkySummoner card) {
|
public TalrandSkySummoner(final TalrandSkySummoner card) {
|
||||||
|
|
Loading…
Reference in a new issue