mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Fixed small text bug of Reshape.
This commit is contained in:
parent
865631eba7
commit
bc9fc67b58
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue