mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
fixed Plague Wight not shrinking creatures
This commit is contained in:
parent
b3510e7f3d
commit
5f6cc1068d
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue