mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[40K] Implemented Their Name Is Death
This commit is contained in:
parent
a37f4af207
commit
f2d0edd63f
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/t/TheirNameIsDeath.java
Normal file
39
Mage.Sets/src/mage/cards/t/TheirNameIsDeath.java
Normal file
|
@ -0,0 +1,39 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.abilities.effects.common.DestroyAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TheirNameIsDeath extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterCreaturePermanent("nonartifact creatures");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.not(CardType.ARTIFACT.getPredicate()));
|
||||
}
|
||||
|
||||
public TheirNameIsDeath(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{B}{B}{B}");
|
||||
|
||||
// Destroy all nonartifact creatures.
|
||||
this.getSpellAbility().addEffect(new DestroyAllEffect(filter));
|
||||
}
|
||||
|
||||
private TheirNameIsDeath(final TheirNameIsDeath card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TheirNameIsDeath copy() {
|
||||
return new TheirNameIsDeath(this);
|
||||
}
|
||||
}
|
|
@ -129,6 +129,7 @@ public final class Warhammer40000 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Terramorphic Expanse", 301, Rarity.COMMON, mage.cards.t.TerramorphicExpanse.class));
|
||||
cards.add(new SetCardInfo("Tervigon", 100, Rarity.RARE, mage.cards.t.Tervigon.class));
|
||||
cards.add(new SetCardInfo("The Swarmlord", 4, Rarity.MYTHIC, mage.cards.t.TheSwarmlord.class));
|
||||
cards.add(new SetCardInfo("Their Name Is Death", 62, Rarity.RARE, mage.cards.t.TheirNameIsDeath.class));
|
||||
cards.add(new SetCardInfo("Thornwood Falls", 302, Rarity.COMMON, mage.cards.t.ThornwoodFalls.class));
|
||||
cards.add(new SetCardInfo("Thought Vessel", 259, Rarity.COMMON, mage.cards.t.ThoughtVessel.class));
|
||||
cards.add(new SetCardInfo("Trygon Prime", 143, Rarity.UNCOMMON, mage.cards.t.TrygonPrime.class));
|
||||
|
|
Loading…
Reference in a new issue