diff --git a/Mage/src/mage/abilities/effects/common/DestroyAllEffect.java b/Mage/src/mage/abilities/effects/common/DestroyAllEffect.java index 9f9815093f3..a8d91b4ac0a 100644 --- a/Mage/src/mage/abilities/effects/common/DestroyAllEffect.java +++ b/Mage/src/mage/abilities/effects/common/DestroyAllEffect.java @@ -28,9 +28,9 @@ package mage.abilities.effects.common; -import mage.constants.Outcome; import mage.abilities.Ability; import mage.abilities.effects.OneShotEffect; +import mage.constants.Outcome; import mage.filter.FilterPermanent; import mage.game.Game; import mage.game.permanent.Permanent; @@ -62,6 +62,7 @@ public class DestroyAllEffect extends OneShotEffect { public DestroyAllEffect(final DestroyAllEffect effect) { super(effect); this.filter = effect.filter.copy(); + this.noRegen = effect.noRegen; } @Override @@ -72,7 +73,7 @@ public class DestroyAllEffect extends OneShotEffect { @Override public boolean apply(Game game, Ability source) { for (Permanent permanent : game.getBattlefield().getActivePermanents(filter, source.getControllerId(), source.getSourceId(), game)) { - permanent.destroy(source.getId(), game, noRegen); + permanent.destroy(source.getSourceId(), game, noRegen); } return true; }