mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
[NCC] Implemented Damning Verdict
This commit is contained in:
parent
639febac1e
commit
f56b7639ab
2 changed files with 42 additions and 0 deletions
41
Mage.Sets/src/mage/cards/d/DamningVerdict.java
Normal file
41
Mage.Sets/src/mage/cards/d/DamningVerdict.java
Normal file
|
@ -0,0 +1,41 @@
|
|||
package mage.cards.d;
|
||||
|
||||
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 mage.filter.predicate.permanent.CounterAnyPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class DamningVerdict extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter
|
||||
= new FilterCreaturePermanent("creatures with no counters on them");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.not(CounterAnyPredicate.instance));
|
||||
}
|
||||
|
||||
public DamningVerdict(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{W}{W}");
|
||||
|
||||
// Destroy all creatures with no counters on them.
|
||||
this.getSpellAbility().addEffect(new DestroyAllEffect(filter));
|
||||
}
|
||||
|
||||
private DamningVerdict(final DamningVerdict card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DamningVerdict copy() {
|
||||
return new DamningVerdict(this);
|
||||
}
|
||||
}
|
|
@ -25,6 +25,7 @@ public final class NewCapennaCommander extends ExpansionSet {
|
|||
this.hasBasicLands = false;
|
||||
|
||||
cards.add(new SetCardInfo("Bennie Bracks, Zoologist", 86, Rarity.MYTHIC, mage.cards.b.BennieBracksZoologist.class));
|
||||
cards.add(new SetCardInfo("Damning Verdict", 15, Rarity.RARE, mage.cards.d.DamningVerdict.class));
|
||||
cards.add(new SetCardInfo("Kitt Kanto, Mayhem Diva", 4, Rarity.MYTHIC, mage.cards.k.KittKantoMayhemDiva.class));
|
||||
|
||||
cards.removeIf(setCardInfo -> unfinished.contains(setCardInfo.getName())); // remove when shield counters are implemented
|
||||
|
|
Loading…
Reference in a new issue