mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[BRC] Implement Titania, Nature's Force
This commit is contained in:
parent
b246631db6
commit
c285a81574
2 changed files with 67 additions and 0 deletions
66
Mage.Sets/src/mage/cards/t/TitaniaNaturesForce.java
Normal file
66
Mage.Sets/src/mage/cards/t/TitaniaNaturesForce.java
Normal file
|
@ -0,0 +1,66 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DiesCreatureTriggeredAbility;
|
||||
import mage.abilities.common.EntersBattlefieldControlledTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.MillCardsControllerEffect;
|
||||
import mage.abilities.effects.common.ruleModifying.PlayLandsFromGraveyardControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.game.permanent.token.TitaniaProtectorOfArgothElementalToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TitaniaNaturesForce extends CardImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterCard("Forests");
|
||||
private static final FilterPermanent filter2 = new FilterPermanent(SubType.FOREST, "a Forest");
|
||||
private static final FilterPermanent filter3
|
||||
= new FilterControlledPermanent(SubType.ELEMENTAL, "an Elemental you control");
|
||||
|
||||
static {
|
||||
filter.add(SubType.FOREST.getPredicate());
|
||||
}
|
||||
|
||||
public TitaniaNaturesForce(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}{G}");
|
||||
|
||||
this.addSuperType(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.power = new MageInt(6);
|
||||
this.toughness = new MageInt(6);
|
||||
|
||||
// You may play Forests from your graveyard.
|
||||
this.addAbility(new SimpleStaticAbility(new PlayLandsFromGraveyardControllerEffect(filter)));
|
||||
|
||||
// Whenever a Forest enters the battlefield under your control, create a 5/3 green Elemental creature token.
|
||||
this.addAbility(new EntersBattlefieldControlledTriggeredAbility(
|
||||
new CreateTokenEffect(new TitaniaProtectorOfArgothElementalToken()), filter2
|
||||
));
|
||||
|
||||
// Whenever an Elemental you control dies, you may mill three cards.
|
||||
this.addAbility(new DiesCreatureTriggeredAbility(
|
||||
new MillCardsControllerEffect(3), true, filter3
|
||||
));
|
||||
}
|
||||
|
||||
private TitaniaNaturesForce(final TitaniaNaturesForce card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TitaniaNaturesForce copy() {
|
||||
return new TitaniaNaturesForce(this);
|
||||
}
|
||||
}
|
|
@ -164,6 +164,7 @@ public final class TheBrothersWarCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Thought Vessel", 167, Rarity.UNCOMMON, mage.cards.t.ThoughtVessel.class));
|
||||
cards.add(new SetCardInfo("Thoughtcast", 99, Rarity.COMMON, mage.cards.t.Thoughtcast.class));
|
||||
cards.add(new SetCardInfo("Thran Dynamo", 168, Rarity.UNCOMMON, mage.cards.t.ThranDynamo.class));
|
||||
cards.add(new SetCardInfo("Titania, Nature's Force", 25, Rarity.MYTHIC, mage.cards.t.TitaniaNaturesForce.class));
|
||||
cards.add(new SetCardInfo("Trading Post", 169, Rarity.RARE, mage.cards.t.TradingPost.class));
|
||||
cards.add(new SetCardInfo("Traxos, Scourge of Kroog", 170, Rarity.RARE, mage.cards.t.TraxosScourgeOfKroog.class));
|
||||
cards.add(new SetCardInfo("Unbreakable Formation", 78, Rarity.RARE, mage.cards.u.UnbreakableFormation.class));
|
||||
|
|
Loading…
Reference in a new issue