mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
updated Hakim, Loreweaver
This commit is contained in:
parent
8ae2bf6c08
commit
b3712b88c7
3 changed files with 14 additions and 5 deletions
|
@ -64,11 +64,10 @@ import mage.target.common.TargetCardInYourGraveyard;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author jeffwadsworth
|
* @author jeffwadsworth, TheElk801
|
||||||
*/
|
*/
|
||||||
public class HakimLoreweaver extends CardImpl {
|
public class HakimLoreweaver extends CardImpl {
|
||||||
|
|
||||||
private final static String rule = "Return target Aura card from your graveyard to the battlefield attached to Hakim, Loreweaver. Activate this ability only during your upkeep and only if Hakim isn't enchanted.";
|
|
||||||
private static final FilterCard filter = new FilterCard("target Aura card from your graveyard");
|
private static final FilterCard filter = new FilterCard("target Aura card from your graveyard");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
@ -90,7 +89,11 @@ public class HakimLoreweaver extends CardImpl {
|
||||||
this.addAbility(FlyingAbility.getInstance());
|
this.addAbility(FlyingAbility.getInstance());
|
||||||
|
|
||||||
// {U}{U}: Return target Aura card from your graveyard to the battlefield attached to Hakim, Loreweaver. Activate this ability only during your upkeep and only if Hakim isn't enchanted.
|
// {U}{U}: Return target Aura card from your graveyard to the battlefield attached to Hakim, Loreweaver. Activate this ability only during your upkeep and only if Hakim isn't enchanted.
|
||||||
Ability ability = new ConditionalActivatedAbility(Zone.BATTLEFIELD, new HakimLoreweaverEffect(), new ManaCostsImpl("{U}{U}"), new HakimLoreweaverCondition(), rule);
|
Ability ability = new ConditionalActivatedAbility(
|
||||||
|
Zone.BATTLEFIELD,
|
||||||
|
new HakimLoreweaverEffect(),
|
||||||
|
new ManaCostsImpl("{U}{U}"),
|
||||||
|
new HakimLoreweaverCondition());
|
||||||
ability.addTarget(new TargetCardInYourGraveyard(filter));
|
ability.addTarget(new TargetCardInYourGraveyard(filter));
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
|
|
||||||
|
@ -121,7 +124,7 @@ class HakimLoreweaverEffect extends OneShotEffect {
|
||||||
|
|
||||||
public HakimLoreweaverEffect() {
|
public HakimLoreweaverEffect() {
|
||||||
super(Outcome.Benefit);
|
super(Outcome.Benefit);
|
||||||
this.staticText = "Return target Aura card from your graveyard to the battlefield attached to {this}. Activate this ability only during your upkeep and only if Hakim isn't enchanted";
|
this.staticText = "Return target Aura card from your graveyard to the battlefield attached to {this}.";
|
||||||
}
|
}
|
||||||
|
|
||||||
public HakimLoreweaverEffect(final HakimLoreweaverEffect effect) {
|
public HakimLoreweaverEffect(final HakimLoreweaverEffect effect) {
|
||||||
|
@ -177,4 +180,9 @@ class HakimLoreweaverCondition implements Condition {
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "only during your upkeep and only if {this} isn't enchanted";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -154,6 +154,7 @@ public class Mirage extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Gravebane Zombie", 25, Rarity.COMMON, mage.cards.g.GravebaneZombie.class));
|
cards.add(new SetCardInfo("Gravebane Zombie", 25, Rarity.COMMON, mage.cards.g.GravebaneZombie.class));
|
||||||
cards.add(new SetCardInfo("Grave Servitude", 24, Rarity.COMMON, mage.cards.g.GraveServitude.class));
|
cards.add(new SetCardInfo("Grave Servitude", 24, Rarity.COMMON, mage.cards.g.GraveServitude.class));
|
||||||
cards.add(new SetCardInfo("Grinning Totem", 268, Rarity.RARE, mage.cards.g.GrinningTotem.class));
|
cards.add(new SetCardInfo("Grinning Totem", 268, Rarity.RARE, mage.cards.g.GrinningTotem.class));
|
||||||
|
cards.add(new SetCardInfo("Hakim, Loreweaver", 68, Rarity.RARE, mage.cards.h.HakimLoreweaver.class));
|
||||||
cards.add(new SetCardInfo("Hall of Gemstone", 119, Rarity.RARE, mage.cards.h.HallOfGemstone.class));
|
cards.add(new SetCardInfo("Hall of Gemstone", 119, Rarity.RARE, mage.cards.h.HallOfGemstone.class));
|
||||||
cards.add(new SetCardInfo("Hammer of Bogardan", 181, Rarity.RARE, mage.cards.h.HammerOfBogardan.class));
|
cards.add(new SetCardInfo("Hammer of Bogardan", 181, Rarity.RARE, mage.cards.h.HammerOfBogardan.class));
|
||||||
cards.add(new SetCardInfo("Harbinger of Night", 26, Rarity.RARE, mage.cards.h.HarbingerOfNight.class));
|
cards.add(new SetCardInfo("Harbinger of Night", 26, Rarity.RARE, mage.cards.h.HarbingerOfNight.class));
|
||||||
|
|
|
@ -71,6 +71,6 @@ public class ConditionalActivatedAbility extends ActivatedAbilityImpl {
|
||||||
if (ruleText != null && !ruleText.isEmpty()) {
|
if (ruleText != null && !ruleText.isEmpty()) {
|
||||||
return ruleText;
|
return ruleText;
|
||||||
}
|
}
|
||||||
return super.getRule() + " Activate this ability only " + condition.toString();
|
return super.getRule() + " Activate this ability only " + condition.toString() + ".";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue