mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
Implemented Murderous Rider
This commit is contained in:
parent
f70c337e0d
commit
724417589c
2 changed files with 56 additions and 0 deletions
55
Mage.Sets/src/mage/cards/m/MurderousRider.java
Normal file
55
Mage.Sets/src/mage/cards/m/MurderousRider.java
Normal file
|
@ -0,0 +1,55 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DiesTriggeredAbility;
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.abilities.effects.common.LoseLifeSourceControllerEffect;
|
||||
import mage.abilities.effects.common.PutOnLibraryTargetEffect;
|
||||
import mage.abilities.keyword.LifelinkAbility;
|
||||
import mage.cards.AdventureCard;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetCreatureOrPlaneswalker;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class MurderousRider extends AdventureCard {
|
||||
|
||||
public MurderousRider(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, new CardType[]{CardType.INSTANT}, "{1}{B}{B}", "Swift End", "{1}{B}{B}");
|
||||
|
||||
this.subtype.add(SubType.ZOMBIE);
|
||||
this.subtype.add(SubType.KNIGHT);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Lifelink
|
||||
this.addAbility(LifelinkAbility.getInstance());
|
||||
|
||||
// When Murderous Rider dies, put it on the bottom of its owner's library.
|
||||
this.addAbility(new DiesTriggeredAbility(new PutOnLibraryTargetEffect(
|
||||
false, "put it on the bottom of its owner's library"
|
||||
), false));
|
||||
|
||||
// Swift End
|
||||
// Destroy target creature or planeswalker. You lose 2 life.
|
||||
this.getAdventureSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
this.getAdventureSpellAbility().addEffect(
|
||||
new LoseLifeSourceControllerEffect(2).setText("You lose 2 life.")
|
||||
);
|
||||
this.getAdventureSpellAbility().addTarget(new TargetCreatureOrPlaneswalker());
|
||||
}
|
||||
|
||||
private MurderousRider(final MurderousRider card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MurderousRider copy() {
|
||||
return new MurderousRider(this);
|
||||
}
|
||||
}
|
|
@ -84,6 +84,7 @@ public final class ThroneOfEldraine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Mace of the Valiant", 314, Rarity.RARE, mage.cards.m.MaceOfTheValiant.class));
|
||||
cards.add(new SetCardInfo("Maraleaf Pixie", 196, Rarity.UNCOMMON, mage.cards.m.MaraleafPixie.class));
|
||||
cards.add(new SetCardInfo("Midnight Clock", 54, Rarity.RARE, mage.cards.m.MidnightClock.class));
|
||||
cards.add(new SetCardInfo("Murderous Rider", 97, Rarity.RARE, mage.cards.m.MurderousRider.class));
|
||||
cards.add(new SetCardInfo("Mystical Dispute", 58, Rarity.UNCOMMON, mage.cards.m.MysticalDispute.class));
|
||||
cards.add(new SetCardInfo("Oakhame Ranger", 212, Rarity.UNCOMMON, mage.cards.o.OakhameRanger.class));
|
||||
cards.add(new SetCardInfo("Oko's Accomplices", 310, Rarity.COMMON, mage.cards.o.OkosAccomplices.class));
|
||||
|
|
Loading…
Reference in a new issue