mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +00:00
[BRO] Implemented Union of the Third Path
This commit is contained in:
parent
a39abb3e53
commit
9bf085f55f
2 changed files with 35 additions and 0 deletions
34
Mage.Sets/src/mage/cards/u/UnionOfTheThirdPath.java
Normal file
34
Mage.Sets/src/mage/cards/u/UnionOfTheThirdPath.java
Normal file
|
@ -0,0 +1,34 @@
|
|||
package mage.cards.u;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.dynamicvalue.common.CardsInControllerHandCount;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author weirddan455
|
||||
*/
|
||||
public final class UnionOfTheThirdPath extends CardImpl {
|
||||
|
||||
public UnionOfTheThirdPath(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{W}");
|
||||
|
||||
// Draw a card, then you gain life equal to the number of cards in your hand.
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
|
||||
this.getSpellAbility().addEffect(new GainLifeEffect(CardsInControllerHandCount.instance).concatBy(", then"));
|
||||
}
|
||||
|
||||
private UnionOfTheThirdPath(final UnionOfTheThirdPath card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UnionOfTheThirdPath copy() {
|
||||
return new UnionOfTheThirdPath(this);
|
||||
}
|
||||
}
|
|
@ -127,6 +127,7 @@ public final class TheBrothersWar extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Transmogrant's Crown", 125, Rarity.RARE, mage.cards.t.TransmograntsCrown.class));
|
||||
cards.add(new SetCardInfo("Tyrant of Kher Ridges", 154, Rarity.RARE, mage.cards.t.TyrantOfKherRidges.class));
|
||||
cards.add(new SetCardInfo("Underground River", 267, Rarity.RARE, mage.cards.u.UndergroundRiver.class));
|
||||
cards.add(new SetCardInfo("Union of the Third Path", 31, Rarity.COMMON, mage.cards.u.UnionOfTheThirdPath.class));
|
||||
cards.add(new SetCardInfo("Urza's Command", 70, Rarity.RARE, mage.cards.u.UrzasCommand.class));
|
||||
cards.add(new SetCardInfo("Urza's Rebuff", 71, Rarity.COMMON, mage.cards.u.UrzasRebuff.class));
|
||||
cards.add(new SetCardInfo("Urza's Sylex", 40, Rarity.MYTHIC, mage.cards.u.UrzasSylex.class));
|
||||
|
|
Loading…
Reference in a new issue