From 383841cdfbfa6f4ead2a69158323a052b6aef563 Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 14 Jul 2017 11:27:44 -0500 Subject: [PATCH] - Fixed bug #3665 --- Mage.Sets/src/mage/cards/d/DoublingSeason.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/d/DoublingSeason.java b/Mage.Sets/src/mage/cards/d/DoublingSeason.java index 6d051176af1..15e0343f06d 100644 --- a/Mage.Sets/src/mage/cards/d/DoublingSeason.java +++ b/Mage.Sets/src/mage/cards/d/DoublingSeason.java @@ -53,7 +53,7 @@ public class DoublingSeason extends CardImpl { // If an effect would create one or more tokens under your control, it creates twice that many of those tokens instead. this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CreateTwiceThatManyTokensEffect())); - + // If an effect would place one or more counters on a permanent you control, it places twice that many of those counters on that permanent instead. this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new DoublingSeasonCounterEffect())); @@ -71,6 +71,8 @@ public class DoublingSeason extends CardImpl { class DoublingSeasonCounterEffect extends ReplacementEffectImpl { + boolean landPlayed = false; // a played land is not an effect + DoublingSeasonCounterEffect() { super(Duration.WhileOnBattlefield, Outcome.BoostCreature, false); staticText = "If an effect would place one or more counters on a permanent you control, it places twice that many of those counters on that permanent instead"; @@ -96,8 +98,12 @@ class DoublingSeasonCounterEffect extends ReplacementEffectImpl { Permanent permanent = game.getPermanent(event.getTargetId()); if (permanent == null) { permanent = game.getPermanentEntering(event.getTargetId()); + landPlayed = (permanent != null + && permanent.isLand()); // a played land is not an effect } - return permanent != null && permanent.getControllerId().equals(source.getControllerId()); + return permanent != null + && permanent.getControllerId().equals(source.getControllerId()) + && !landPlayed; // example: gemstone mine being played as a land drop } @Override