mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
[SNC] Implemented Demon's Due
This commit is contained in:
parent
8e19abfe60
commit
4f5c6fe9d0
2 changed files with 36 additions and 0 deletions
35
Mage.Sets/src/mage/cards/d/DemonsDue.java
Normal file
35
Mage.Sets/src/mage/cards/d/DemonsDue.java
Normal file
|
@ -0,0 +1,35 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.LoseLifeSourceControllerEffect;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author weirddan455
|
||||
*/
|
||||
public final class DemonsDue extends CardImpl {
|
||||
|
||||
public DemonsDue(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{B}");
|
||||
|
||||
// Scry 2, then draw 2 cards. You lose 2 life.
|
||||
this.getSpellAbility().addEffect(new ScryEffect(2, false));
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(2).concatBy(", then"));
|
||||
this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2));
|
||||
}
|
||||
|
||||
private DemonsDue(final DemonsDue card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DemonsDue copy() {
|
||||
return new DemonsDue(this);
|
||||
}
|
||||
}
|
|
@ -73,6 +73,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Dapper Shieldmate", 9, Rarity.COMMON, mage.cards.d.DapperShieldmate.class));
|
||||
cards.add(new SetCardInfo("Darling of the Masses", 181, Rarity.UNCOMMON, mage.cards.d.DarlingOfTheMasses.class));
|
||||
cards.add(new SetCardInfo("Deal Gone Bad", 74, Rarity.COMMON, mage.cards.d.DealGoneBad.class));
|
||||
cards.add(new SetCardInfo("Demon's Due", 75, Rarity.COMMON, mage.cards.d.DemonsDue.class));
|
||||
cards.add(new SetCardInfo("Depopulate", 10, Rarity.RARE, mage.cards.d.Depopulate.class));
|
||||
cards.add(new SetCardInfo("Devilish Valet", 105, Rarity.RARE, mage.cards.d.DevilishValet.class));
|
||||
cards.add(new SetCardInfo("Dig Up the Body", 76, Rarity.COMMON, mage.cards.d.DigUpTheBody.class));
|
||||
|
|
Loading…
Reference in a new issue