mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[BRC] Implement Terisiare's Devastation (#9705)
This commit is contained in:
parent
5a4c951aae
commit
2be61dd7ea
2 changed files with 45 additions and 0 deletions
44
Mage.Sets/src/mage/cards/t/TerisiaresDevastation.java
Normal file
44
Mage.Sets/src/mage/cards/t/TerisiaresDevastation.java
Normal file
|
@ -0,0 +1,44 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.ManacostVariableValue;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.LoseLifeSourceControllerEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.filter.common.FilterControlledArtifactPermanent;
|
||||
import mage.game.permanent.token.PowerstoneToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author PurpleCrowbar
|
||||
*/
|
||||
public final class TerisiaresDevastation extends CardImpl {
|
||||
|
||||
private static final DynamicValue xValue = new PermanentsOnBattlefieldCount(new FilterControlledArtifactPermanent(), -1);
|
||||
|
||||
public TerisiaresDevastation(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{X}{2}{B}{B}");
|
||||
|
||||
// You lose X life and create X tapped Powerstone tokens. Then all creatures get -1/-1 until end of turn for each artifact you control.
|
||||
this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(ManacostVariableValue.REGULAR));
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new PowerstoneToken(), ManacostVariableValue.REGULAR, true, false).concatBy("and"));
|
||||
this.getSpellAbility().addEffect(new BoostAllEffect(
|
||||
xValue, xValue, Duration.EndOfTurn)
|
||||
.concatBy("Then"));
|
||||
}
|
||||
|
||||
private TerisiaresDevastation(final TerisiaresDevastation card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TerisiaresDevastation copy() {
|
||||
return new TerisiaresDevastation(this);
|
||||
}
|
||||
}
|
|
@ -152,6 +152,7 @@ public final class TheBrothersWarCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Temple of Epiphany", 207, Rarity.RARE, mage.cards.t.TempleOfEpiphany.class));
|
||||
cards.add(new SetCardInfo("Temple of Malice", 208, Rarity.RARE, mage.cards.t.TempleOfMalice.class));
|
||||
cards.add(new SetCardInfo("Temple of Silence", 209, Rarity.RARE, mage.cards.t.TempleOfSilence.class));
|
||||
cards.add(new SetCardInfo("Terisiare's Devastation", 9, Rarity.RARE, mage.cards.t.TerisiaresDevastation.class));
|
||||
cards.add(new SetCardInfo("Terramorphic Expanse", 210, Rarity.COMMON, mage.cards.t.TerramorphicExpanse.class));
|
||||
cards.add(new SetCardInfo("Teshar, Ancestor's Apostle", 77, Rarity.RARE, mage.cards.t.TesharAncestorsApostle.class));
|
||||
cards.add(new SetCardInfo("Thirst for Knowledge", 96, Rarity.UNCOMMON, mage.cards.t.ThirstForKnowledge.class));
|
||||
|
|
Loading…
Reference in a new issue