fixed Plague Wight not shrinking creatures

This commit is contained in:
Evan Kranzler 2019-01-12 17:48:06 -05:00
parent b3510e7f3d
commit 5f6cc1068d

View file

@ -13,6 +13,7 @@ import mage.constants.Outcome;
import mage.constants.SubType;
import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.permanent.BlockedByIdPredicate;
import mage.filter.predicate.permanent.BlockingAttackerIdPredicate;
import mage.game.Game;
import mage.game.permanent.Permanent;
@ -67,7 +68,7 @@ class PlagueWightEffect extends OneShotEffect {
return false;
}
FilterCreaturePermanent filter = new FilterCreaturePermanent();
filter.add(new BlockedByIdPredicate(source.getSourceId()));
filter.add(new BlockingAttackerIdPredicate(source.getSourceId()));
game.addEffect(new BoostAllEffect(-1, -1, Duration.EndOfTurn, filter, false), source);
return true;
}