forked from External/mage
[WOE] Implement Harried Spearguard
This commit is contained in:
parent
98e7543bdd
commit
85e55e52e8
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/h/HarriedSpearguard.java
Normal file
43
Mage.Sets/src/mage/cards/h/HarriedSpearguard.java
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.h;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DiesSourceTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.RatCantBlockToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class HarriedSpearguard extends CardImpl {
|
||||
|
||||
public HarriedSpearguard(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{R}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.SOLDIER);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Haste
|
||||
this.addAbility(HasteAbility.getInstance());
|
||||
|
||||
// When Harried Spearguard dies, create a 1/1 black Rat creature token with "This creature can't block."
|
||||
this.addAbility(new DiesSourceTriggeredAbility(new CreateTokenEffect(new RatCantBlockToken())));
|
||||
}
|
||||
|
||||
private HarriedSpearguard(final HarriedSpearguard card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HarriedSpearguard copy() {
|
||||
return new HarriedSpearguard(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -55,6 +55,7 @@ public final class WildsOfEldraine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Gallant Pie-Wielder", 15, Rarity.UNCOMMON, mage.cards.g.GallantPieWielder.class));
|
||||
cards.add(new SetCardInfo("Glass Casket", 16, Rarity.UNCOMMON, mage.cards.g.GlassCasket.class));
|
||||
cards.add(new SetCardInfo("Greta, Sweettooth Scourge", 205, Rarity.UNCOMMON, mage.cards.g.GretaSweettoothScourge.class));
|
||||
cards.add(new SetCardInfo("Harried Spearguard", 135, Rarity.COMMON, mage.cards.h.HarriedSpearguard.class));
|
||||
cards.add(new SetCardInfo("Hopeless Nightmare", 95, Rarity.COMMON, mage.cards.h.HopelessNightmare.class));
|
||||
cards.add(new SetCardInfo("Howling Galefang", 175, Rarity.UNCOMMON, mage.cards.h.HowlingGalefang.class));
|
||||
cards.add(new SetCardInfo("Ingenious Prodigy", 56, Rarity.RARE, mage.cards.i.IngeniousProdigy.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue