mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
* Xiahou Dun, the One-Eyed - Fixed missing horsemanship ability.
This commit is contained in:
parent
ae34fd795a
commit
97c5701518
1 changed files with 5 additions and 2 deletions
|
@ -35,6 +35,7 @@ import mage.abilities.common.ActivateIfConditionActivatedAbility;
|
||||||
import mage.abilities.condition.common.MyTurnBeforeAttackersDeclaredCondition;
|
import mage.abilities.condition.common.MyTurnBeforeAttackersDeclaredCondition;
|
||||||
import mage.abilities.costs.common.SacrificeSourceCost;
|
import mage.abilities.costs.common.SacrificeSourceCost;
|
||||||
import mage.abilities.effects.common.ReturnFromGraveyardToHandTargetEffect;
|
import mage.abilities.effects.common.ReturnFromGraveyardToHandTargetEffect;
|
||||||
|
import mage.abilities.keyword.HorsemanshipAbility;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.Rarity;
|
import mage.constants.Rarity;
|
||||||
|
@ -65,6 +66,8 @@ public class XiahouDunTheOneEyed extends CardImpl {
|
||||||
this.toughness = new MageInt(2);
|
this.toughness = new MageInt(2);
|
||||||
|
|
||||||
// Horsemanship
|
// 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.
|
// 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());
|
new ReturnFromGraveyardToHandTargetEffect(), new SacrificeSourceCost(), MyTurnBeforeAttackersDeclaredCondition.getInstance());
|
||||||
|
|
Loading…
Reference in a new issue