Fixed small text bug of Reshape.

This commit is contained in:
LevelX2 2012-12-25 10:38:32 +01:00
parent 865631eba7
commit bc9fc67b58

View file

@ -97,7 +97,7 @@ class ReshapeSearchEffect extends OneShotEffect<ReshapeSearchEffect> {
if (player == null) { if (player == null) {
return false; return false;
} }
FilterCard filter = new FilterCard("green creature card with converted mana cost X or less"); FilterCard filter = new FilterCard("artifact card with converted mana cost X or less");
filter.add(new CardTypePredicate(CardType.ARTIFACT)); filter.add(new CardTypePredicate(CardType.ARTIFACT));
//Set the mana cost one higher to 'emulate' a less than or equal to comparison. //Set the mana cost one higher to 'emulate' a less than or equal to comparison.
filter.add(new ConvertedManaCostPredicate(Filter.ComparisonType.LessThan, source.getManaCostsToPay().getX() + 1)); filter.add(new ConvertedManaCostPredicate(Filter.ComparisonType.LessThan, source.getManaCostsToPay().getX() + 1));
@ -120,4 +120,4 @@ class ReshapeSearchEffect extends OneShotEffect<ReshapeSearchEffect> {
public ReshapeSearchEffect copy() { public ReshapeSearchEffect copy() {
return new ReshapeSearchEffect(this); return new ReshapeSearchEffect(this);
} }
} }