mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
parent
43a27dfa0c
commit
9ed04cc3c5
4 changed files with 7 additions and 36 deletions
|
@ -610,7 +610,7 @@
|
|||
|Generate|TOK:DST|Insect|||InsectToken|
|
||||
|Generate|TOK:DST|Myr|||MyrToken|
|
||||
|Generate|TOK:DST|Spawn|||SpawningPitToken|
|
||||
|Generate|TOK:DTK|Djinn Monk|||SkywiseTeachingsToken|
|
||||
|Generate|TOK:DTK|Djinn Monk|||DjinnMonkToken|
|
||||
|Generate|TOK:DTK|Dragon|||DragonToken|
|
||||
|Generate|TOK:DTK|Goblin|||GoblinToken|
|
||||
|Generate|TOK:DTK|Morph||
|
||||
|
|
|
@ -11,7 +11,7 @@ import mage.cards.CardSetInfo;
|
|||
import mage.constants.CardType;
|
||||
import mage.filter.FilterSpell;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.game.permanent.token.SkywiseTeachingsToken;
|
||||
import mage.game.permanent.token.DjinnMonkToken;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -29,7 +29,7 @@ public final class SkywiseTeachings extends CardImpl {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{3}{U}");
|
||||
|
||||
// Whenever you cast a noncreature spell, you may pay {1}{U}. If you do, create a 2/2 blue Djinn Monk creature token with flying.
|
||||
this.addAbility(new SpellCastControllerTriggeredAbility(new DoIfCostPaid(new CreateTokenEffect(new SkywiseTeachingsToken()), new ManaCostsImpl("{1}{U}")), filter, false));
|
||||
this.addAbility(new SpellCastControllerTriggeredAbility(new DoIfCostPaid(new CreateTokenEffect(new DjinnMonkToken()), new ManaCostsImpl("{1}{U}")), filter, false));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ import mage.constants.SubType;
|
|||
import mage.MageInt;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
|
@ -21,6 +23,8 @@ public final class DjinnMonkToken extends TokenImpl {
|
|||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
addAbility(FlyingAbility.getInstance());
|
||||
|
||||
availableImageSetCodes = Arrays.asList("DTK", "IMA");
|
||||
}
|
||||
|
||||
public DjinnMonkToken(final DjinnMonkToken token) {
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
|
||||
|
||||
package mage.game.permanent.token;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author spjspj
|
||||
*/
|
||||
public final class SkywiseTeachingsToken extends TokenImpl {
|
||||
|
||||
public SkywiseTeachingsToken() {
|
||||
super("Djinn Monk Token", "2/2 blue Djinn Monk creature token with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setBlue(true);
|
||||
this.subtype.add(SubType.DJINN);
|
||||
this.subtype.add(SubType.MONK);
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
}
|
||||
|
||||
public SkywiseTeachingsToken(final SkywiseTeachingsToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public SkywiseTeachingsToken copy() {
|
||||
return new SkywiseTeachingsToken(this);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue