mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
Implemented Mu Yanling, Sky Dancer
This commit is contained in:
parent
ce42085c79
commit
33986bebfe
4 changed files with 122 additions and 0 deletions
|
|
@ -0,0 +1,33 @@
|
|||
package mage.game.command.emblems;
|
||||
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.game.command.Emblem;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class MuYanlingSkyDancerEmblem extends Emblem {
|
||||
|
||||
private static final FilterPermanent filter
|
||||
= new FilterControlledPermanent(SubType.ISLAND, "Islands you control");
|
||||
|
||||
// "Islands you control have '{T}: Draw a card'."
|
||||
public MuYanlingSkyDancerEmblem() {
|
||||
this.setName("Emblem Yanling");
|
||||
this.getAbilities().add(new SimpleStaticAbility(
|
||||
Zone.COMMAND,
|
||||
new GainAbilityControlledEffect(new SimpleActivatedAbility(
|
||||
new DrawCardSourceControllerEffect(1), new TapSourceCost()
|
||||
), Duration.EndOfGame, filter)
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
public final class MuYanlingSkyDancerToken extends TokenImpl {
|
||||
|
||||
public MuYanlingSkyDancerToken() {
|
||||
super("Elemental Bird", "4/4 blue Elemental Bird creature token with flying");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setBlue(true);
|
||||
subtype.add(SubType.ELEMENTAL);
|
||||
subtype.add(SubType.BIRD);
|
||||
power = new MageInt(4);
|
||||
toughness = new MageInt(4);
|
||||
addAbility(FlyingAbility.getInstance());
|
||||
}
|
||||
|
||||
private MuYanlingSkyDancerToken(final MuYanlingSkyDancerToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public MuYanlingSkyDancerToken copy() {
|
||||
return new MuYanlingSkyDancerToken(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue