[MH2] Implemented Tragic Fall

This commit is contained in:
Evan Kranzler 2021-06-02 21:40:56 -04:00
parent b058370c64
commit da31fa9cff
3 changed files with 43 additions and 1 deletions

View file

@ -0,0 +1,41 @@
package mage.cards.t;
import mage.abilities.condition.LockedInCondition;
import mage.abilities.condition.common.MorbidCondition;
import mage.abilities.decorator.ConditionalContinuousEffect;
import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class TragicFall extends CardImpl {
public TragicFall(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{B}");
// Target creature gets -3/-3 until end of turn.
// Hellbent That creature gets -13/-13 until end of turn instead if you have no cards in hand.
this.getSpellAbility().addEffect(new ConditionalContinuousEffect(
new BoostTargetEffect(-13, -13), new BoostTargetEffect(-3, -3),
new LockedInCondition(MorbidCondition.instance), "Target creature gets -1/-1 " +
"until end of turn.<br><i>Hellbent</i> &mdash; That creature gets -13/-13 " +
"until end of turn instead if you have no cards in hand"
));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
}
private TragicFall(final TragicFall card) {
super(card);
}
@Override
public TragicFall copy() {
return new TragicFall(this);
}
}

View file

@ -28,7 +28,7 @@ public final class TragicSlip extends CardImpl {
new BoostTargetEffect(-13, -13, Duration.EndOfTurn),
new BoostTargetEffect(-1, -1, Duration.EndOfTurn),
new LockedInCondition(MorbidCondition.instance),
"Target creature gets -1/-1 until end of turn. <i>Morbid</i> &mdash; That creature gets -13/-13 until end of turn instead if a creature died this turn"));
"Target creature gets -1/-1 until end of turn. <br><i>Morbid</i> &mdash; That creature gets -13/-13 until end of turn instead if a creature died this turn"));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
}

View file

@ -250,6 +250,7 @@ public final class ModernHorizons2 extends ExpansionSet {
cards.add(new SetCardInfo("Titania, Protector of Argoth", 287, Rarity.MYTHIC, mage.cards.t.TitaniaProtectorOfArgoth.class));
cards.add(new SetCardInfo("Tormod's Cryptkeeper", 239, Rarity.COMMON, mage.cards.t.TormodsCryptkeeper.class));
cards.add(new SetCardInfo("Tourach's Canticle", 103, Rarity.COMMON, mage.cards.t.TourachsCanticle.class));
cards.add(new SetCardInfo("Tragic Fall", 104, Rarity.COMMON, mage.cards.t.TragicFall.class));
cards.add(new SetCardInfo("Underworld Hermit", 105, Rarity.UNCOMMON, mage.cards.u.UnderworldHermit.class));
cards.add(new SetCardInfo("Unholy Heat", 145, Rarity.COMMON, mage.cards.u.UnholyHeat.class));
cards.add(new SetCardInfo("Unmarked Grave", 106, Rarity.RARE, mage.cards.u.UnmarkedGrave.class));