Implemented Treeshaker Chimera

This commit is contained in:
Evan Kranzler 2019-12-17 20:19:25 -05:00
parent ee585d475e
commit 02ad3675c5
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,42 @@
package mage.cards.t;
import mage.MageInt;
import mage.abilities.common.DiesTriggeredAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.combat.MustBeBlockedByAllSourceEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class TreeshakerChimera extends CardImpl {
public TreeshakerChimera(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{G}{G}");
this.subtype.add(SubType.CHIMERA);
this.power = new MageInt(8);
this.toughness = new MageInt(5);
// All creatures able to block Treeshaker Chimera do so.
this.addAbility(new SimpleStaticAbility(new MustBeBlockedByAllSourceEffect()));
// When Treeshaker Chimera dies, draw three cards.
this.addAbility(new DiesTriggeredAbility(new DrawCardSourceControllerEffect(3)));
}
private TreeshakerChimera(final TreeshakerChimera card) {
super(card);
}
@Override
public TreeshakerChimera copy() {
return new TreeshakerChimera(this);
}
}

View file

@ -52,6 +52,7 @@ public final class TherosBeyondDeath extends ExpansionSet {
cards.add(new SetCardInfo("Staggering Insight", 228, Rarity.UNCOMMON, mage.cards.s.StaggeringInsight.class));
cards.add(new SetCardInfo("Swamp", 252, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("The Akroan War", 124, Rarity.RARE, mage.cards.t.TheAkroanWar.class));
cards.add(new SetCardInfo("Treeshaker Chimera", 297, Rarity.RARE, mage.cards.t.TreeshakerChimera.class));
cards.add(new SetCardInfo("Victory's Envoy", 289, Rarity.COMMON, mage.cards.v.VictorysEnvoy.class));
}
}