From 863d8166f1d06af5bbf17480142b724890abec13 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 22 Sep 2021 07:52:32 -0400 Subject: [PATCH] [MID] fixed Foul Play only targeting creatures with power 1 or less (fixes #8308) --- Mage.Sets/src/mage/cards/f/FoulPlay.java | 2 +- Mage/src/main/java/mage/constants/ComparisonType.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/f/FoulPlay.java b/Mage.Sets/src/mage/cards/f/FoulPlay.java index e13f2ec8e1..cceb6ba97c 100644 --- a/Mage.Sets/src/mage/cards/f/FoulPlay.java +++ b/Mage.Sets/src/mage/cards/f/FoulPlay.java @@ -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) { diff --git a/Mage/src/main/java/mage/constants/ComparisonType.java b/Mage/src/main/java/mage/constants/ComparisonType.java index f47bd1839c..cbbeb73911 100644 --- a/Mage/src/main/java/mage/constants/ComparisonType.java +++ b/Mage/src/main/java/mage/constants/ComparisonType.java @@ -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;