mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 15:32:08 -08:00
[LCI] Implement Hoverstone Pilgrim
This commit is contained in:
parent
8f7fafd6e0
commit
5f2325d4ef
2 changed files with 55 additions and 0 deletions
54
Mage.Sets/src/mage/cards/h/HoverstonePilgrim.java
Normal file
54
Mage.Sets/src/mage/cards/h/HoverstonePilgrim.java
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
package mage.cards.h;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.PutOnLibraryTargetEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.abilities.keyword.WardAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetCardInGraveyard;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Susucr
|
||||
*/
|
||||
public final class HoverstonePilgrim extends CardImpl {
|
||||
|
||||
public HoverstonePilgrim(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{5}");
|
||||
|
||||
this.subtype.add(SubType.GOLEM);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(5);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Ward {2}
|
||||
this.addAbility(new WardAbility(new ManaCostsImpl<>("{2}")));
|
||||
|
||||
// {2}: Put target card from a graveyard on the bottom of its owner's library.
|
||||
Ability ability = new SimpleActivatedAbility(
|
||||
new PutOnLibraryTargetEffect(false),
|
||||
new GenericManaCost(2)
|
||||
);
|
||||
ability.addTarget(new TargetCardInGraveyard());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private HoverstonePilgrim(final HoverstonePilgrim card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HoverstonePilgrim copy() {
|
||||
return new HoverstonePilgrim(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -93,6 +93,7 @@ public final class TheLostCavernsOfIxalan extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Hidden Nursery", 276, Rarity.COMMON, mage.cards.h.HiddenNursery.class));
|
||||
cards.add(new SetCardInfo("Hidden Volcano", 277, Rarity.COMMON, mage.cards.h.HiddenVolcano.class));
|
||||
cards.add(new SetCardInfo("Hit the Mother Lode", 153, Rarity.RARE, mage.cards.h.HitTheMotherLode.class));
|
||||
cards.add(new SetCardInfo("Hoverstone Pilgrim", 254, Rarity.UNCOMMON, mage.cards.h.HoverstonePilgrim.class));
|
||||
cards.add(new SetCardInfo("Huatli, Poet of Unity", 189, Rarity.MYTHIC, mage.cards.h.HuatliPoetOfUnity.class));
|
||||
cards.add(new SetCardInfo("Hurl into History", 59, Rarity.UNCOMMON, mage.cards.h.HurlIntoHistory.class));
|
||||
cards.add(new SetCardInfo("Idol of the Deep King", 155, Rarity.COMMON, mage.cards.i.IdolOfTheDeepKing.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue