From 954052b64e5bc94af1a46d93c13eadd9100a6dfb Mon Sep 17 00:00:00 2001 From: magenoxx Date: Thu, 24 Nov 2011 11:06:05 +0400 Subject: [PATCH] Fixed Issue 387. --- .../abilities/effects/common/continious/BoostAllEffect.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage/src/mage/abilities/effects/common/continious/BoostAllEffect.java b/Mage/src/mage/abilities/effects/common/continious/BoostAllEffect.java index 7220773abc7..9fb59e3e300 100644 --- a/Mage/src/mage/abilities/effects/common/continious/BoostAllEffect.java +++ b/Mage/src/mage/abilities/effects/common/continious/BoostAllEffect.java @@ -93,7 +93,7 @@ public class BoostAllEffect extends ContinuousEffectImpl { public void init(Ability source, Game game) { super.init(source, game); if (this.affectedObjectsSet) { - for (Permanent perm: game.getBattlefield().getAllActivePermanents(filter)) { + for (Permanent perm: game.getBattlefield().getActivePermanents(filter, source.getControllerId(), source.getSourceId(), game)) { if (!(excludeSource && perm.getId().equals(source.getSourceId()))) { objects.add(perm.getId()); } @@ -103,7 +103,7 @@ public class BoostAllEffect extends ContinuousEffectImpl { @Override public boolean apply(Game game, Ability source) { - for (Permanent perm: game.getBattlefield().getAllActivePermanents(filter)) { + for (Permanent perm: game.getBattlefield().getActivePermanents(filter, source.getControllerId(), source.getSourceId(), game)) { if (!this.affectedObjectsSet || objects.contains(perm.getId())) { if (!(excludeSource && perm.getId().equals(source.getSourceId()))) { perm.addPower(power.calculate(game, source));