Merge pull request #1279 from hanasu/master

Fixed issue with Dredge rules text where it always read "three cards"
This commit is contained in:
LevelX2 2015-09-18 23:04:45 +02:00
commit 8fe48b78dd

View file

@ -71,7 +71,7 @@ class DredgeEffect extends ReplacementEffectImpl {
super(Duration.WhileInGraveyard, Outcome.ReturnToHand); super(Duration.WhileInGraveyard, Outcome.ReturnToHand);
this.amount = value; this.amount = value;
this.staticText = new StringBuilder("Dredge ").append(Integer.toString(value)) this.staticText = new StringBuilder("Dredge ").append(Integer.toString(value))
.append(" <i>(If you would draw a card, instead you may put exactly three cards from the top of your library into your graveyard. If you do, return this card from your graveyard to your hand. Otherwise, draw a card.)</i>").toString(); .append(" <i>(If you would draw a card, instead you may put exactly " + value + " card(s) from the top of your library into your graveyard. If you do, return this card from your graveyard to your hand. Otherwise, draw a card.)</i>").toString();
} }
public DredgeEffect(final DredgeEffect effect) { public DredgeEffect(final DredgeEffect effect) {