mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 12:52:06 -08:00
[ONE] Implement Dragonwing Glider
This commit is contained in:
parent
4d53595f07
commit
73037f710e
6 changed files with 119 additions and 1 deletions
|
|
@ -0,0 +1,31 @@
|
|||
package mage.abilities.keyword;
|
||||
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenAttachSourceEffect;
|
||||
import mage.game.permanent.token.PhyrexianGermToken;
|
||||
import mage.game.permanent.token.RebelRedToken;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public class ForMirrodinAbility extends EntersBattlefieldTriggeredAbility {
|
||||
|
||||
public ForMirrodinAbility() {
|
||||
super(new CreateTokenAttachSourceEffect(new RebelRedToken()));
|
||||
}
|
||||
|
||||
public ForMirrodinAbility(final ForMirrodinAbility ability) {
|
||||
super(ability);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "For Mirrodin! <i>(When this Equipment enters the battlefield, " +
|
||||
"create a 2/2 red Rebel creature token, then attach this to it.)</i>";
|
||||
}
|
||||
|
||||
@Override
|
||||
public ForMirrodinAbility copy() {
|
||||
return new ForMirrodinAbility(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -21,7 +21,7 @@ public class LivingWeaponAbility extends EntersBattlefieldTriggeredAbility {
|
|||
}
|
||||
|
||||
@Override
|
||||
public EntersBattlefieldTriggeredAbility copy() {
|
||||
public LivingWeaponAbility copy() {
|
||||
return new LivingWeaponAbility(this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RebelRedToken extends TokenImpl {
|
||||
|
||||
public RebelRedToken() {
|
||||
super("Rebel Token", "2/2 red Rebel creature token");
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setRed(true);
|
||||
subtype.add(SubType.REBEL);
|
||||
}
|
||||
|
||||
public RebelRedToken(final RebelRedToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public RebelRedToken copy() {
|
||||
return new RebelRedToken(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue