[ZNR] Implemented Kitesail Cleric

This commit is contained in:
Evan Kranzler 2020-09-02 15:52:07 -04:00
parent ff3bcf1f66
commit a28d1e095d
2 changed files with 58 additions and 0 deletions

View file

@ -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);
}
}

View file

@ -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));