[MID] fixed Foul Play only targeting creatures with power 1 or less (fixes #8308)

This commit is contained in:
Evan Kranzler 2021-09-22 07:52:32 -04:00
parent aa0fe5528d
commit 863d8166f1
2 changed files with 4 additions and 2 deletions

View file

@ -21,7 +21,7 @@ public final class FoulPlay extends CardImpl {
private static final FilterPermanent filter = new FilterCreaturePermanent("creature with power 2 or less");
static {
filter.add(new PowerPredicate(ComparisonType.FEWER_THAN, 2));
filter.add(new PowerPredicate(ComparisonType.FEWER_THAN, 3));
}
public FoulPlay(UUID ownerId, CardSetInfo setInfo) {

View file

@ -4,7 +4,9 @@ package mage.constants;
* Created by IGOUDT on 5-3-2017.
*/
public enum ComparisonType {
MORE_THAN(">", "more", "than"), FEWER_THAN("<", "fewer", "than"), EQUAL_TO("==", "equal", "to");
FEWER_THAN("<", "fewer", "than"),
EQUAL_TO("==", "equal", "to"),
MORE_THAN(">", "more", "than");
String operator;
String text1;