mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
[LTR] Implement There and Back Again
This commit is contained in:
parent
6772a3956d
commit
a4a995f615
5 changed files with 116 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ import mage.constants.SuperType;
|
|||
public final class KaroxBladewingDragonToken extends TokenImpl {
|
||||
|
||||
public KaroxBladewingDragonToken() {
|
||||
super("Karox Bladewing Token", "legendary 4/4 red Dragon creature token with flying");
|
||||
super("Karox Bladewing", "Karox Bladewing, a legendary 4/4 red Dragon creature token with flying");
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
|
|
|
|||
41
Mage/src/main/java/mage/game/permanent/token/SmaugToken.java
Normal file
41
Mage/src/main/java/mage/game/permanent/token/SmaugToken.java
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DiesSourceTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SmaugToken extends TokenImpl {
|
||||
|
||||
public SmaugToken() {
|
||||
super("Smaug", "Smaug, a legendary 6/6 red Dragon creature token with flying, haste, and \"When this creature dies, create fourteen Treasure tokens.\"");
|
||||
this.power = new MageInt(6);
|
||||
this.toughness = new MageInt(6);
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.cardType.add(CardType.CREATURE);
|
||||
this.subtype.add(SubType.DRAGON);
|
||||
this.color.setRed(true);
|
||||
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
this.addAbility(HasteAbility.getInstance());
|
||||
this.addAbility(new DiesSourceTriggeredAbility(
|
||||
new CreateTokenEffect(new FoodToken(), 14)
|
||||
).setTriggerPhrase("When this creature dies, "));
|
||||
}
|
||||
|
||||
public SmaugToken(final SmaugToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SmaugToken copy() {
|
||||
return new SmaugToken(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue