mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
[NEO] Implemented Kaito's Pursuit
This commit is contained in:
parent
2a19e9bd5f
commit
0b07907f24
2 changed files with 51 additions and 0 deletions
50
Mage.Sets/src/mage/cards/k/KaitosPursuit.java
Normal file
50
Mage.Sets/src/mage/cards/k/KaitosPursuit.java
Normal file
|
@ -0,0 +1,50 @@
|
|||
package mage.cards.k;
|
||||
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.effects.common.discard.DiscardTargetEffect;
|
||||
import mage.abilities.keyword.MenaceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.target.TargetPlayer;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class KaitosPursuit extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterPermanent("Ninjas and Rogues");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.or(
|
||||
SubType.NINJA.getPredicate(),
|
||||
SubType.ROGUE.getPredicate()
|
||||
));
|
||||
}
|
||||
|
||||
public KaitosPursuit(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{B}");
|
||||
|
||||
// Target player discards two cards. Ninjas and Rogues you control gain menace until end of turn.
|
||||
this.getSpellAbility().addEffect(new DiscardTargetEffect(2));
|
||||
this.getSpellAbility().addTarget(new TargetPlayer());
|
||||
this.getSpellAbility().addEffect(new GainAbilityControlledEffect(
|
||||
new MenaceAbility(false), Duration.EndOfTurn, filter
|
||||
));
|
||||
}
|
||||
|
||||
private KaitosPursuit(final KaitosPursuit card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public KaitosPursuit copy() {
|
||||
return new KaitosPursuit(this);
|
||||
}
|
||||
}
|
|
@ -132,6 +132,7 @@ public final class KamigawaNeonDynasty extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Junji, the Midnight Sky", 102, Rarity.MYTHIC, mage.cards.j.JunjiTheMidnightSky.class));
|
||||
cards.add(new SetCardInfo("Kairi, the Swirling Sky", 60, Rarity.MYTHIC, mage.cards.k.KairiTheSwirlingSky.class));
|
||||
cards.add(new SetCardInfo("Kaito Shizuki", 226, Rarity.MYTHIC, mage.cards.k.KaitoShizuki.class));
|
||||
cards.add(new SetCardInfo("Kaito's Pursuit", 103, Rarity.COMMON, mage.cards.k.KaitosPursuit.class));
|
||||
cards.add(new SetCardInfo("Kami of Terrible Secrets", 105, Rarity.COMMON, mage.cards.k.KamiOfTerribleSecrets.class));
|
||||
cards.add(new SetCardInfo("Kappa Tech-Wrecker", 198, Rarity.UNCOMMON, mage.cards.k.KappaTechWrecker.class));
|
||||
cards.add(new SetCardInfo("Kindled Fury", 151, Rarity.COMMON, mage.cards.k.KindledFury.class));
|
||||
|
|
Loading…
Reference in a new issue