mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[MID] fixed Foul Play only targeting creatures with power 1 or less (fixes #8308)
This commit is contained in:
parent
aa0fe5528d
commit
863d8166f1
2 changed files with 4 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue