Earth-Origin Yak

This commit is contained in:
Evan Kranzler 2018-06-08 08:56:21 -04:00
parent 9d8d67036b
commit 96840a9397
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,38 @@
package mage.cards.e;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.constants.SubType;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
/**
*
* @author TheElk801
*/
public final class EarthOriginYak extends CardImpl {
public EarthOriginYak(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}");
this.subtype.add(SubType.OX);
this.power = new MageInt(2);
this.toughness = new MageInt(4);
// When Earth-Origin Yak enters the battlefield, creatures you control get +1/+1 until end of turn.
this.addAbility(new EntersBattlefieldTriggeredAbility(new BoostControlledEffect(1, 1, Duration.EndOfTurn)));
}
public EarthOriginYak(final EarthOriginYak card) {
super(card);
}
@Override
public EarthOriginYak copy() {
return new EarthOriginYak(this);
}
}

View file

@ -31,6 +31,7 @@ public final class JiangYangguMuYanling extends ExpansionSet {
cards.add(new SetCardInfo("Confidence from Strength", 35, Rarity.COMMON, mage.cards.c.ConfidenceFromStrength.class));
cards.add(new SetCardInfo("Dragon's Presence", 16, Rarity.COMMON, mage.cards.d.DragonsPresence.class));
cards.add(new SetCardInfo("Drown in Shapelessness", 15, Rarity.COMMON, mage.cards.d.DrownInShapelessness.class));
cards.add(new SetCardInfo("Earth-Origin Yak", 9, Rarity.COMMON, mage.cards.e.EarthOriginYak.class));
cards.add(new SetCardInfo("Earthshaking Si", 31, Rarity.COMMON, mage.cards.e.EarthshakingSi.class));
cards.add(new SetCardInfo("Feiyi Snake", 24, Rarity.COMMON, mage.cards.f.FeiyiSnake.class));
cards.add(new SetCardInfo("Ferocious Zheng", 28, Rarity.COMMON, mage.cards.f.FerociousZheng.class));