forked from External/mage
[FDN] Impllement Dragon Trainer
This commit is contained in:
parent
b7087843b6
commit
05f5f846a7
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/d/DragonTrainer.java
Normal file
38
Mage.Sets/src/mage/cards/d/DragonTrainer.java
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.DragonToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class DragonTrainer extends CardImpl {
|
||||
|
||||
public DragonTrainer(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}{R}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// When this creature enters, create a 4/4 red Dragon creature token with flying.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new DragonToken())));
|
||||
}
|
||||
|
||||
private DragonTrainer(final DragonTrainer card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DragonTrainer copy() {
|
||||
return new DragonTrainer(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -108,6 +108,7 @@ public final class Foundations extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Dive Down", 588, Rarity.COMMON, mage.cards.d.DiveDown.class));
|
||||
cards.add(new SetCardInfo("Doubling Season", 216, Rarity.MYTHIC, mage.cards.d.DoublingSeason.class));
|
||||
cards.add(new SetCardInfo("Dragon Mage", 621, Rarity.UNCOMMON, mage.cards.d.DragonMage.class));
|
||||
cards.add(new SetCardInfo("Dragon Trainer", 84, Rarity.UNCOMMON, mage.cards.d.DragonTrainer.class));
|
||||
cards.add(new SetCardInfo("Dragonmaster Outcast", 622, Rarity.MYTHIC, mage.cards.d.DragonmasterOutcast.class));
|
||||
cards.add(new SetCardInfo("Drakuseth, Maw of Flames", 193, Rarity.RARE, mage.cards.d.DrakusethMawOfFlames.class));
|
||||
cards.add(new SetCardInfo("Dread Summons", 604, Rarity.RARE, mage.cards.d.DreadSummons.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue