mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[NEO] Implemented Norika Yamazaki, the Poet
This commit is contained in:
parent
d228597093
commit
7627535270
2 changed files with 61 additions and 0 deletions
60
Mage.Sets/src/mage/cards/n/NorikaYamazakiThePoet.java
Normal file
60
Mage.Sets/src/mage/cards/n/NorikaYamazakiThePoet.java
Normal file
|
@ -0,0 +1,60 @@
|
|||
package mage.cards.n;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.AttacksAloneControlledTriggeredAbility;
|
||||
import mage.abilities.effects.common.asthought.PlayFromNotOwnHandZoneTargetEffect;
|
||||
import mage.constants.*;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.common.FilterEnchantmentCard;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.target.common.TargetCardInYourGraveyard;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author weirddan455
|
||||
*/
|
||||
public final class NorikaYamazakiThePoet extends CardImpl {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("a Samurai or Warrior you control");
|
||||
private static final FilterEnchantmentCard filter2 = new FilterEnchantmentCard("enchantment card from your graveyard");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.or(SubType.SAMURAI.getPredicate(), SubType.WARRIOR.getPredicate()));
|
||||
}
|
||||
|
||||
public NorikaYamazakiThePoet(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}");
|
||||
|
||||
this.addSuperType(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.SAMURAI);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Vigilance
|
||||
this.addAbility(VigilanceAbility.getInstance());
|
||||
|
||||
// Whenever a Samurai or Warrior you control attacks alone, you may cast target enchantment card from your graveyard this turn.
|
||||
Ability ability = new AttacksAloneControlledTriggeredAbility(
|
||||
new PlayFromNotOwnHandZoneTargetEffect(Zone.GRAVEYARD, TargetController.YOU, Duration.EndOfTurn, false, true)
|
||||
.setText("you may cast target enchantment card from your graveyard this turn"),
|
||||
filter, false, false
|
||||
);
|
||||
ability.addTarget(new TargetCardInYourGraveyard(filter2));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private NorikaYamazakiThePoet(final NorikaYamazakiThePoet card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public NorikaYamazakiThePoet copy() {
|
||||
return new NorikaYamazakiThePoet(this);
|
||||
}
|
||||
}
|
|
@ -88,6 +88,7 @@ public final class KamigawaNeonDynasty extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Nameless Conqueror", 162, Rarity.COMMON, mage.cards.n.NamelessConqueror.class));
|
||||
cards.add(new SetCardInfo("Naomi, Pillar of Order", 229, Rarity.UNCOMMON, mage.cards.n.NaomiPillarOfOrder.class));
|
||||
cards.add(new SetCardInfo("Nezumi Prowler", 116, Rarity.UNCOMMON, mage.cards.n.NezumiProwler.class));
|
||||
cards.add(new SetCardInfo("Norika Yamazaki, the Poet", 31, Rarity.UNCOMMON, mage.cards.n.NorikaYamazakiThePoet.class));
|
||||
cards.add(new SetCardInfo("Plains", 283, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Portrait of Michiko", 29, Rarity.UNCOMMON, mage.cards.p.PortraitOfMichiko.class));
|
||||
cards.add(new SetCardInfo("Prodigy's Prototype", 231, Rarity.UNCOMMON, mage.cards.p.ProdigysPrototype.class));
|
||||
|
|
Loading…
Reference in a new issue