From 97c57015188af1559172748239a55128f1bce609 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 13 Dec 2015 18:14:02 +0100 Subject: [PATCH] * Xiahou Dun, the One-Eyed - Fixed missing horsemanship ability. --- .../mage/sets/portalthreekingdoms/XiahouDunTheOneEyed.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/sets/portalthreekingdoms/XiahouDunTheOneEyed.java b/Mage.Sets/src/mage/sets/portalthreekingdoms/XiahouDunTheOneEyed.java index 9f0f143624..5ffdc6526c 100644 --- a/Mage.Sets/src/mage/sets/portalthreekingdoms/XiahouDunTheOneEyed.java +++ b/Mage.Sets/src/mage/sets/portalthreekingdoms/XiahouDunTheOneEyed.java @@ -35,6 +35,7 @@ import mage.abilities.common.ActivateIfConditionActivatedAbility; import mage.abilities.condition.common.MyTurnBeforeAttackersDeclaredCondition; import mage.abilities.costs.common.SacrificeSourceCost; import mage.abilities.effects.common.ReturnFromGraveyardToHandTargetEffect; +import mage.abilities.keyword.HorsemanshipAbility; import mage.cards.CardImpl; import mage.constants.CardType; import mage.constants.Rarity; @@ -48,7 +49,7 @@ import mage.target.common.TargetCardInYourGraveyard; * @author fireshoes */ public class XiahouDunTheOneEyed extends CardImpl { - + private static final FilterCard filter = new FilterCard("a black card"); static { @@ -65,8 +66,10 @@ public class XiahouDunTheOneEyed extends CardImpl { this.toughness = new MageInt(2); // Horsemanship + this.addAbility(HorsemanshipAbility.getInstance()); + // Sacrifice Xiahou Dun, the One-Eyed: Return target black card from your graveyard to your hand. Activate this ability only during your turn, before attackers are declared. - Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD, + Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD, new ReturnFromGraveyardToHandTargetEffect(), new SacrificeSourceCost(), MyTurnBeforeAttackersDeclaredCondition.getInstance()); ability.addTarget(new TargetCardInYourGraveyard(filter)); this.addAbility(ability);