Skip to content

Commit

Permalink
[MB2] Implement Wrath of Leknif
Browse files Browse the repository at this point in the history
  • Loading branch information
PurpleCrowbar committed Dec 1, 2024
1 parent 1d5bb57 commit 00a002b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
33 changes: 33 additions & 0 deletions Mage.Sets/src/mage/cards/w/WrathOfLeknif.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package mage.cards.w;

import mage.abilities.effects.common.DestroyAllEffect;
import mage.abilities.effects.common.UntapLandsEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.StaticFilters;

import java.util.UUID;

/**
* @author PurpleCrowbar
*/
public final class WrathOfLeknif extends CardImpl {

public WrathOfLeknif(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{W}{W}{U}");

// Destroy all creatures. They can't be regenerated. Untap up to four lands you control.
this.getSpellAbility().addEffect(new DestroyAllEffect(StaticFilters.FILTER_PERMANENT_CREATURES, true));
this.getSpellAbility().addEffect(new UntapLandsEffect(4, true, true));
}

private WrathOfLeknif(final WrathOfLeknif card) {
super(card);
}

@Override
public WrathOfLeknif copy() {
return new WrathOfLeknif(this);
}
}
1 change: 1 addition & 0 deletions Mage.Sets/src/mage/sets/MysteryBooster2.java
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ private MysteryBooster2() {
cards.add(new SetCardInfo("Wishclaw Talisman", 51, Rarity.RARE, mage.cards.w.WishclawTalisman.class));
cards.add(new SetCardInfo("Worst Fears", 52, Rarity.MYTHIC, mage.cards.w.WorstFears.class));
cards.add(new SetCardInfo("Wowzer, the Aspirational", 365, Rarity.RARE, mage.cards.w.WowzerTheAspirational.class));
cards.add(new SetCardInfo("Wrath of Leknif", 366, Rarity.RARE, mage.cards.w.WrathOfLeknif.class));
cards.add(new SetCardInfo("Xantcha, Sleeper Agent", 253, Rarity.RARE, mage.cards.x.XantchaSleeperAgent.class));
cards.add(new SetCardInfo("Yorion, Sky Nomad", 94, Rarity.RARE, mage.cards.y.YorionSkyNomad.class));
cards.add(new SetCardInfo("Zombie Master", 188, Rarity.RARE, mage.cards.z.ZombieMaster.class));
Expand Down

0 comments on commit 00a002b

Please sign in to comment.