Merge pull request #5253 from kevinwshin/FixPestilenceRats5251

Fixes Pestilence Rats
This commit is contained in:
LevelX2 2018-08-22 16:25:35 +02:00 committed by GitHub
commit 0117dd9ce7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.constants.Zone;
import mage.filter.common.FilterControlledCreaturePermanent;
import mage.filter.FilterPermanent;
import mage.filter.predicate.mageobject.AnotherCardPredicate;
import mage.filter.predicate.mageobject.SubtypePredicate;
@ -22,7 +22,7 @@ import mage.filter.predicate.mageobject.SubtypePredicate;
*/
public final class PestilenceRats extends CardImpl {
private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("other Rats on the battlefield");
private static final FilterPermanent filter = new FilterPermanent("other Rats on the battlefield");
static{
filter.add(new SubtypePredicate(SubType.RAT));
filter.add(new AnotherCardPredicate());