mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
* Abondon Hope - Fixed rule text (#6532).
This commit is contained in:
parent
3aefbfb360
commit
5e63c44c5d
2 changed files with 5 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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 ");
|
||||
|
|
Loading…
Reference in a new issue