1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-03-29 01:09:05 -09:00

[BRC] Implement Staff of Titania

This commit is contained in:
Evan Kranzler 2022-11-05 14:59:16 -04:00
parent 521900acc3
commit fee8fc76cf
3 changed files with 56 additions and 1 deletions

View file

@ -0,0 +1,54 @@
package mage.cards.s;
import mage.abilities.common.AttacksAttachedTriggeredAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.dynamicvalue.DynamicValue;
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.common.continuous.BoostEquippedEffect;
import mage.abilities.hint.Hint;
import mage.abilities.hint.ValueHint;
import mage.abilities.keyword.EquipAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.common.FilterControlledPermanent;
import mage.game.permanent.token.ForestDryadToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class StaffOfTitania extends CardImpl {
private static final DynamicValue xValue = new PermanentsOnBattlefieldCount(
new FilterControlledPermanent(SubType.FOREST, "Forests you control"), null
);
private static final Hint hint = new ValueHint("Forests you control", xValue);
public StaffOfTitania(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}");
this.subtype.add(SubType.EQUIPMENT);
// Equipped creature gets +X/+X, where X is the number of Forests you control.
this.addAbility(new SimpleStaticAbility(new BoostEquippedEffect(xValue, xValue)));
// Whenever equipped creature attacks, create a 1/1 green Forest Dryad land creature token.
this.addAbility(new AttacksAttachedTriggeredAbility(new CreateTokenEffect(new ForestDryadToken())));
// Equip {3}
this.addAbility(new EquipAbility(3));
}
private StaffOfTitania(final StaffOfTitania card) {
super(card);
}
@Override
public StaffOfTitania copy() {
return new StaffOfTitania(this);
}
}

View file

@ -140,6 +140,7 @@ public final class TheBrothersWarCommander extends ExpansionSet {
cards.add(new SetCardInfo("Sphinx's Revelation", 130, Rarity.MYTHIC, mage.cards.s.SphinxsRevelation.class));
cards.add(new SetCardInfo("Spine of Ish Sah", 162, Rarity.RARE, mage.cards.s.SpineOfIshSah.class));
cards.add(new SetCardInfo("Spire of Industry", 203, Rarity.RARE, mage.cards.s.SpireOfIndustry.class));
cards.add(new SetCardInfo("Staff of Titania", 27, Rarity.RARE, mage.cards.s.StaffOfTitania.class));
cards.add(new SetCardInfo("Steel Hellkite", 163, Rarity.RARE, mage.cards.s.SteelHellkite.class));
cards.add(new SetCardInfo("Steel Overseer", 164, Rarity.RARE, mage.cards.s.SteelOverseer.class));
cards.add(new SetCardInfo("Strionic Resonator", 165, Rarity.RARE, mage.cards.s.StrionicResonator.class));

View file

@ -46519,7 +46519,7 @@ Sardian Avenger|The Brothers' War Commander|23|R|{1}{R}|Creature - Goblin Warrio
Rootpath Purifier|The Brothers' War Commander|24|M|{3}{G}|Creature - Elf Druid|3|4|Lands you control and land cards in your library are basic.|
Titania, Nature's Force|The Brothers' War Commander|25|M|{4}{G}{G}|Legendary Creature - Elemental|6|6|You may play Forests from your graveyard.$Whenever a Forest enters the battlefield under your control, create a 5/3 green Elemental creature token.$Whenever an Elemental you control dies, you may mill three cards.|
The Archimandrite|The Brothers' War Commander|26|R|{2}{U}{R}{W}|Legendary Creature - Human Advisor|0|5|At the beginning of your upkeep, you gain X life, where X is the number of cards in your hand minus 4.$Whenever you gain life, each Advisor, Artificer, and Monk you control gains vigilance and gets +X/+0 until end of turn, where X is the amount of life you gained.$Tap three untapped Advisors, Artificers, and/or Monks you control: Draw a card.|
Staff of Titania|The Brothers' War Commander|27|R|{2}|Artifact - Equipment|||Equipped creature gets +X/+X, where X is the number of Forests you control. Whenever equipped creature attacks, create a 1/1 green Forest Dryad land creature token.$Equip {3}|
Staff of Titania|The Brothers' War Commander|27|R|{2}|Artifact - Equipment|||Equipped creature gets +X/+X, where X is the number of Forests you control.$Whenever equipped creature attacks, create a 1/1 green Forest Dryad land creature token.$Equip {3}|
Urza's Workshop|The Brothers' War Commander|28|R||Land - Urza's|||{T}: Add {C}.$Metalcraft -- {T}: Add {C} for each Urza's land you control. Activate only if you control three or more artifacts.|
Plains|The Brothers' War Commander|29|C||Basic Land - Plains|||({T}: Add {W}.)|
Island|The Brothers' War Commander|31|C||Basic Land - Island|||({T}: Add {U}.)|