forked from External/mage
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)
|
||||
));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue