From 9a7d158a20bbf3cfd990f63382bbbb4eba63c85d Mon Sep 17 00:00:00 2001 From: magenoxx Date: Sat, 24 Dec 2011 12:34:15 +0400 Subject: [PATCH] DamageAllEffect - source.getId to source.getSourceId --- Mage/src/mage/abilities/effects/common/DamageAllEffect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/src/mage/abilities/effects/common/DamageAllEffect.java b/Mage/src/mage/abilities/effects/common/DamageAllEffect.java index 4b1a7a2083..c1e7a9da45 100644 --- a/Mage/src/mage/abilities/effects/common/DamageAllEffect.java +++ b/Mage/src/mage/abilities/effects/common/DamageAllEffect.java @@ -72,7 +72,7 @@ public class DamageAllEffect extends OneShotEffect { public boolean apply(Game game, Ability source) { List permanents = game.getBattlefield().getActivePermanents(filter, source.getControllerId(), game); for (Permanent permanent: permanents) { - permanent.damage(amount.calculate(game, source), source.getId(), game, true, false); + permanent.damage(amount.calculate(game, source), source.getSourceId(), game, true, false); } return true; }