[NEO] fixed Ruthless Technomancer targeting
@@ -20,7 +20,7 @@ import mage.filter.StaticFilters;
import mage.filter.common.FilterControlledArtifactPermanent;
import mage.filter.common.FilterControlledPermanent;
import mage.filter.common.FilterCreatureCard;
-import mage.filter.predicate.mageobject.ManaValuePredicate;
+import mage.filter.predicate.mageobject.PowerPredicate;
import mage.game.Game;
import mage.game.permanent.Permanent;
import mage.game.permanent.token.TreasureToken;
@@ -77,9 +77,9 @@ enum RuthlessTechnomancerAdjuster implements TargetAdjuster {
public void adjustTargets(Ability ability, Game game) {
int xValue = GetXValue.instance.calculate(game, ability, null);
FilterCard filter = new FilterCreatureCard(
- "creature card in your graveyard with mana value " + xValue + " or less"
+ "creature card in your graveyard with power " + xValue + " or less"
);
- filter.add(new ManaValuePredicate(ComparisonType.FEWER_THAN, xValue));
+ filter.add(new PowerPredicate(ComparisonType.FEWER_THAN, xValue + 1));
ability.getTargets().clear();
ability.addTarget(new TargetCardInYourGraveyard(filter));
}
