* Abondon Hope - Fixed rule text (#6532).

This commit is contained in:
LevelX2 2020-05-26 19:29:46 +02:00
parent 3aefbfb360
commit 5e63c44c5d
2 changed files with 5 additions and 4 deletions

View file

@ -35,8 +35,9 @@ public final class AbandonHope extends CardImpl {
this.addAbility(ability);
// Look at target opponent's hand and choose X cards from it. That player discards those cards.
ManacostVariableValue manaX = ManacostVariableValue.instance;
this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(manaX, TargetController.ANY));
this.getSpellAbility().addEffect(
new DiscardCardYouChooseTargetEffect(ManacostVariableValue.instance, TargetController.ANY)
.setText("Look at target opponent's hand and choose X cards from it. That player discards those cards"));
this.getSpellAbility().addTarget(new TargetOpponent());
this.getSpellAbility().setCostAdjuster(AbandonHopeAdjuster.instance);
}

View file

@ -33,7 +33,7 @@ public class DiscardCardYouChooseTargetEffect extends OneShotEffect {
private static final FilterCard filterOneCard = new FilterCard("one card");
public DiscardCardYouChooseTargetEffect() {
this(new FilterCard("a card"));
this(StaticFilters.FILTER_CARD_A);
}
public DiscardCardYouChooseTargetEffect(TargetController targetController) {
@ -170,7 +170,7 @@ public class DiscardCardYouChooseTargetEffect extends OneShotEffect {
} else {
if (numberCardsToReveal instanceof StaticValue) {
sb.append(" reveals ");
sb.append(CardUtil.numberToText(((StaticValue) numberCardsToReveal).getValue()) + " cards");
sb.append(CardUtil.numberToText(((StaticValue) numberCardsToReveal).getValue())).append(" cards");
sb.append(" from their hand");
} else {
sb.append(" reveals a number of cards from their hand equal to ");