mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
[LTR] Implement Quarrel's End
This commit is contained in:
parent
c095891713
commit
c0bbdecad1
2 changed files with 38 additions and 0 deletions
37
Mage.Sets/src/mage/cards/q/QuarrelsEnd.java
Normal file
37
Mage.Sets/src/mage/cards/q/QuarrelsEnd.java
Normal file
|
@ -0,0 +1,37 @@
|
|||
package mage.cards.q;
|
||||
|
||||
import mage.abilities.costs.common.DiscardCardCost;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.HumanSoldierToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class QuarrelsEnd extends CardImpl {
|
||||
|
||||
public QuarrelsEnd(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{R}");
|
||||
|
||||
// As an additional cost to cast this spell, discard a card.
|
||||
this.getSpellAbility().addCost(new DiscardCardCost());
|
||||
|
||||
// Draw two cards and create a 1/1 white Human Soldier creature token.
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(2));
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new HumanSoldierToken()).concatBy("and"));
|
||||
}
|
||||
|
||||
private QuarrelsEnd(final QuarrelsEnd card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public QuarrelsEnd copy() {
|
||||
return new QuarrelsEnd(this);
|
||||
}
|
||||
}
|
|
@ -127,6 +127,7 @@ public final class TheLordOfTheRingsTalesOfMiddleEarth extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Plains", 262, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Prince Imrahil the Fair", 219, Rarity.UNCOMMON, mage.cards.p.PrinceImrahilTheFair.class));
|
||||
cards.add(new SetCardInfo("Protector of Gondor", 25, Rarity.COMMON, mage.cards.p.ProtectorOfGondor.class));
|
||||
cards.add(new SetCardInfo("Quarrel's End", 141, Rarity.COMMON, mage.cards.q.QuarrelsEnd.class));
|
||||
cards.add(new SetCardInfo("Quickbeam, Upstart Ent", 183, Rarity.UNCOMMON, mage.cards.q.QuickbeamUpstartEnt.class));
|
||||
cards.add(new SetCardInfo("Rally at the Hornburg", 142, Rarity.COMMON, mage.cards.r.RallyAtTheHornburg.class));
|
||||
cards.add(new SetCardInfo("Ranger's Firebrand", 143, Rarity.UNCOMMON, mage.cards.r.RangersFirebrand.class));
|
||||
|
|
Loading…
Reference in a new issue