fix [MH3] Lethal Throwdown (#12362)

This commit is contained in:
grimreap124 2024-06-01 20:23:22 +10:00 committed by GitHub
parent c013f4bcfe
commit 89f15ecbb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,7 +24,7 @@ import mage.target.common.TargetCreatureOrPlaneswalker;
*/ */
public final class LethalThrowdown extends CardImpl { public final class LethalThrowdown extends CardImpl {
private static final FilterPermanent filter = new FilterPermanent("sacrifice a modified creature"); private static final FilterPermanent filter = new FilterPermanent("a modified creature");
static { static {
filter.add(ModifiedPredicate.instance); filter.add(ModifiedPredicate.instance);
@ -40,8 +40,8 @@ public final class LethalThrowdown extends CardImpl {
.setText("sacrifice a creature"), .setText("sacrifice a creature"),
new SacrificeTargetCost(filter).setText("sacrifice a modified creature"))); new SacrificeTargetCost(filter).setText("sacrifice a modified creature")));
// Destroy target creature or planeswalker. If the modified creature was sacrificed, draw a card. // Destroy target creature or planeswalker. If the modified creature was sacrificed, draw a card.
this.getSpellAbility().addEffect(new LethalThrowdownEffect());
this.getSpellAbility().addEffect(new DestroyTargetEffect()); this.getSpellAbility().addEffect(new DestroyTargetEffect());
this.getSpellAbility().addEffect(new LethalThrowdownEffect());
this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker()); this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker());
} }
@ -59,7 +59,7 @@ class LethalThrowdownEffect extends OneShotEffect {
LethalThrowdownEffect() { LethalThrowdownEffect() {
super(Outcome.Benefit); super(Outcome.Benefit);
staticText = "Destroy target creature or planeswalker. If the modified creature was sacrificed, draw a card"; staticText = "If the modified creature was sacrificed, draw a card";
} }
private LethalThrowdownEffect(final LethalThrowdownEffect effect) { private LethalThrowdownEffect(final LethalThrowdownEffect effect) {