forked from External/mage
[LCI] Implement Terror Tide
This commit is contained in:
parent
f62da22068
commit
f155cd8983
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/t/TerrorTide.java
Normal file
42
Mage.Sets/src/mage/cards/t/TerrorTide.java
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.abilities.condition.common.DescendCondition;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.CardsInControllerGraveyardCount;
|
||||
import mage.abilities.effects.common.continuous.BoostAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.AbilityWord;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Susucr
|
||||
*/
|
||||
public final class TerrorTide extends CardImpl {
|
||||
|
||||
private static final DynamicValue xValue = new CardsInControllerGraveyardCount(StaticFilters.FILTER_CARD_PERMANENT, -1);
|
||||
|
||||
public TerrorTide(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{B}{B}");
|
||||
|
||||
// Fathomless descent -- All creatures get -X/-X until end of turn, where X is the number of permanent cards in your graveyard.
|
||||
this.getSpellAbility().addEffect(
|
||||
new BoostAllEffect(xValue, xValue, Duration.EndOfTurn, StaticFilters.FILTER_PERMANENT_CREATURE, false,
|
||||
"All creatures get -X/-X until end of turn, where X is the number of permanent cards in your graveyard")
|
||||
);
|
||||
this.getSpellAbility().setAbilityWord(AbilityWord.FATHOMLESS_DESCENT).addHint(DescendCondition.getHint());
|
||||
}
|
||||
|
||||
private TerrorTide(final TerrorTide card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TerrorTide copy() {
|
||||
return new TerrorTide(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -114,6 +114,7 @@ public final class TheLostCavernsOfIxalan extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Temple of Civilization", 26, Rarity.MYTHIC, mage.cards.t.TempleOfCivilization.class));
|
||||
cards.add(new SetCardInfo("Temple of Power", 158, Rarity.MYTHIC, mage.cards.t.TempleOfPower.class));
|
||||
cards.add(new SetCardInfo("Temple of the Dead", 88, Rarity.MYTHIC, mage.cards.t.TempleOfTheDead.class));
|
||||
cards.add(new SetCardInfo("Terror Tide", 127, Rarity.RARE, mage.cards.t.TerrorTide.class));
|
||||
cards.add(new SetCardInfo("The Belligerent", 225, Rarity.RARE, mage.cards.t.TheBelligerent.class));
|
||||
cards.add(new SetCardInfo("The Grim Captain", 266, Rarity.RARE, mage.cards.t.TheGrimCaptain.class));
|
||||
cards.add(new SetCardInfo("The Skullspore Nexus", 212, Rarity.MYTHIC, mage.cards.t.TheSkullsporeNexus.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue