mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[KHM] Implemented Doomskar
This commit is contained in:
parent
e5c24a31a8
commit
3dc4d615f3
2 changed files with 36 additions and 0 deletions
35
Mage.Sets/src/mage/cards/d/Doomskar.java
Normal file
35
Mage.Sets/src/mage/cards/d/Doomskar.java
Normal file
|
@ -0,0 +1,35 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import mage.abilities.effects.common.DestroyAllEffect;
|
||||
import mage.abilities.keyword.ForetellAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Doomskar extends CardImpl {
|
||||
|
||||
public Doomskar(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{W}{W}");
|
||||
|
||||
// Destroy all creatures.
|
||||
this.getSpellAbility().addEffect(new DestroyAllEffect(StaticFilters.FILTER_PERMANENT_CREATURES));
|
||||
|
||||
// Foretell {1}{W}{W}
|
||||
this.addAbility(new ForetellAbility(this, "{1}{W}{W}"));
|
||||
}
|
||||
|
||||
private Doomskar(final Doomskar card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Doomskar copy() {
|
||||
return new Doomskar(this);
|
||||
}
|
||||
}
|
|
@ -118,6 +118,7 @@ public final class Kaldheim extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Disdainful Stroke", 54, Rarity.COMMON, mage.cards.d.DisdainfulStroke.class));
|
||||
cards.add(new SetCardInfo("Divine Gambit", 8, Rarity.UNCOMMON, mage.cards.d.DivineGambit.class));
|
||||
cards.add(new SetCardInfo("Dogged Pursuit", 85, Rarity.COMMON, mage.cards.d.DoggedPursuit.class));
|
||||
cards.add(new SetCardInfo("Doomskar", 9, Rarity.RARE, mage.cards.d.Doomskar.class));
|
||||
cards.add(new SetCardInfo("Doomskar Oracle", 10, Rarity.COMMON, mage.cards.d.DoomskarOracle.class));
|
||||
cards.add(new SetCardInfo("Doomskar Titan", 130, Rarity.UNCOMMON, mage.cards.d.DoomskarTitan.class));
|
||||
cards.add(new SetCardInfo("Draugr Thought-Thief", 55, Rarity.COMMON, mage.cards.d.DraugrThoughtThief.class));
|
||||
|
|
Loading…
Reference in a new issue