From a28d1e095d0fa979692a756fe1b264a1466848a7 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 2 Sep 2020 15:52:07 -0400 Subject: [PATCH] [ZNR] Implemented Kitesail Cleric --- .../src/mage/cards/k/KitesailCleric.java | 57 +++++++++++++++++++ Mage.Sets/src/mage/sets/ZendikarRising.java | 1 + 2 files changed, 58 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/k/KitesailCleric.java diff --git a/Mage.Sets/src/mage/cards/k/KitesailCleric.java b/Mage.Sets/src/mage/cards/k/KitesailCleric.java new file mode 100644 index 0000000000..23a630b1d1 --- /dev/null +++ b/Mage.Sets/src/mage/cards/k/KitesailCleric.java @@ -0,0 +1,57 @@ +package mage.cards.k; + +import java.util.UUID; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.condition.common.KickedCondition; +import mage.abilities.decorator.ConditionalInterveningIfTriggeredAbility; +import mage.abilities.effects.common.TapTargetEffect; +import mage.constants.SubType; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.keyword.KickerAbility; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetCreaturePermanent; + +/** + * @author TheElk801 + */ +public final class KitesailCleric extends CardImpl { + + public KitesailCleric(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{W}"); + + this.subtype.add(SubType.KOR); + this.subtype.add(SubType.CLERIC); + this.power = new MageInt(1); + this.toughness = new MageInt(1); + + // Kicker {2}{W} + this.addAbility(new KickerAbility(new ManaCostsImpl<>("{2}{W}"))); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // When Kitesail Cleric enters the battelfield, if it was kicked, tap up to two target creatures. + Ability ability = new ConditionalInterveningIfTriggeredAbility( + new EntersBattlefieldTriggeredAbility(new TapTargetEffect()), + KickedCondition.instance, "When {this} enters the battlefield, " + + "if it was kicked, tap up to two target creatures." + ); + ability.addTarget(new TargetCreaturePermanent(0, 2)); + this.addAbility(ability); + } + + private KitesailCleric(final KitesailCleric card) { + super(card); + } + + @Override + public KitesailCleric copy() { + return new KitesailCleric(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ZendikarRising.java b/Mage.Sets/src/mage/sets/ZendikarRising.java index 327320fd54..0db420fab5 100644 --- a/Mage.Sets/src/mage/sets/ZendikarRising.java +++ b/Mage.Sets/src/mage/sets/ZendikarRising.java @@ -88,6 +88,7 @@ public final class ZendikarRising extends ExpansionSet { cards.add(new SetCardInfo("Island", 269, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS)); cards.add(new SetCardInfo("Jace, Mirror Mage", 63, Rarity.MYTHIC, mage.cards.j.JaceMirrorMage.class)); cards.add(new SetCardInfo("Kabira Outrider", 18, Rarity.COMMON, mage.cards.k.KabiraOutrider.class)); + cards.add(new SetCardInfo("Kitesail Cleric", 20, Rarity.UNCOMMON, mage.cards.k.KitesailCleric.class)); cards.add(new SetCardInfo("Kor Blademaster", 21, Rarity.COMMON, mage.cards.k.KorBlademaster.class)); cards.add(new SetCardInfo("Lavaglide Pathway", 264, Rarity.RARE, mage.cards.l.LavaglidePathway.class)); cards.add(new SetCardInfo("Legion Angel", 318, Rarity.RARE, mage.cards.l.LegionAngel.class));