From 76537b0c66eaba19c67e7f506c2a84ff7c9f91ab Mon Sep 17 00:00:00 2001 From: Loki Date: Sat, 12 Feb 2011 09:57:42 +0200 Subject: [PATCH] try to fix crash in BoostPowerXSourceEffect --- .../effects/common/continious/BoostPowerXSourceEffect.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Mage/src/mage/abilities/effects/common/continious/BoostPowerXSourceEffect.java b/Mage/src/mage/abilities/effects/common/continious/BoostPowerXSourceEffect.java index a17503f1f0..9f8221685f 100644 --- a/Mage/src/mage/abilities/effects/common/continious/BoostPowerXSourceEffect.java +++ b/Mage/src/mage/abilities/effects/common/continious/BoostPowerXSourceEffect.java @@ -42,6 +42,7 @@ import mage.game.permanent.Permanent; * @author BetaSteward_at_googlemail.com */ public class BoostPowerXSourceEffect extends ContinuousEffectImpl { + private int amount = -1; public BoostPowerXSourceEffect(Duration duration) { super(duration, Layer.PTChangingEffects_7, SubLayer.ModifyPT_7c, Outcome.BoostCreature); @@ -58,7 +59,8 @@ public class BoostPowerXSourceEffect extends ContinuousEffectImpl