From 35d4106311f9a7f514c9fb9f50ac81c12850731b Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 20 Sep 2015 08:43:04 +0200 Subject: [PATCH] * Tide Drifter and Ruination Guide - Fixed that they buffed themself. --- Mage.Sets/src/mage/sets/battleforzendikar/RuinationGuide.java | 4 +--- Mage.Sets/src/mage/sets/battleforzendikar/TideDrifter.java | 4 +--- .../effects/common/continuous/BoostControlledEffect.java | 3 ++- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Mage.Sets/src/mage/sets/battleforzendikar/RuinationGuide.java b/Mage.Sets/src/mage/sets/battleforzendikar/RuinationGuide.java index a30a353a99..128a4ae569 100644 --- a/Mage.Sets/src/mage/sets/battleforzendikar/RuinationGuide.java +++ b/Mage.Sets/src/mage/sets/battleforzendikar/RuinationGuide.java @@ -40,7 +40,6 @@ import mage.constants.Rarity; import mage.constants.Zone; import mage.filter.common.FilterCreaturePermanent; import mage.filter.predicate.mageobject.ColorlessPredicate; -import mage.filter.predicate.permanent.AnotherPredicate; /** * @@ -51,7 +50,6 @@ public class RuinationGuide extends CardImpl { private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Other colorless creatures you control"); static { - filter.add(new AnotherPredicate()); filter.add(new ColorlessPredicate()); } @@ -68,7 +66,7 @@ public class RuinationGuide extends CardImpl { // Ingest this.addAbility(new IngestAbility()); // Other colorless creatures you control get +1/+0. - this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 0, Duration.WhileOnBattlefield, filter))); + this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 0, Duration.WhileOnBattlefield, filter, true))); } public RuinationGuide(final RuinationGuide card) { diff --git a/Mage.Sets/src/mage/sets/battleforzendikar/TideDrifter.java b/Mage.Sets/src/mage/sets/battleforzendikar/TideDrifter.java index aad5defd96..43dcbe4827 100644 --- a/Mage.Sets/src/mage/sets/battleforzendikar/TideDrifter.java +++ b/Mage.Sets/src/mage/sets/battleforzendikar/TideDrifter.java @@ -39,7 +39,6 @@ import mage.constants.Rarity; import mage.constants.Zone; import mage.filter.common.FilterCreaturePermanent; import mage.filter.predicate.mageobject.ColorlessPredicate; -import mage.filter.predicate.permanent.AnotherPredicate; /** * @@ -50,7 +49,6 @@ public class TideDrifter extends CardImpl { private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Other colorless creatures you control"); static { - filter.add(new AnotherPredicate()); filter.add(new ColorlessPredicate()); } @@ -65,7 +63,7 @@ public class TideDrifter extends CardImpl { // Devoid this.addAbility(new DevoidAbility(this.color)); // Other colorless creatures you control get +0/+1. - this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(0, 1, Duration.WhileOnBattlefield, filter))); + this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(0, 1, Duration.WhileOnBattlefield, filter, true))); } diff --git a/Mage/src/mage/abilities/effects/common/continuous/BoostControlledEffect.java b/Mage/src/mage/abilities/effects/common/continuous/BoostControlledEffect.java index eb834b17d7..763e78028b 100644 --- a/Mage/src/mage/abilities/effects/common/continuous/BoostControlledEffect.java +++ b/Mage/src/mage/abilities/effects/common/continuous/BoostControlledEffect.java @@ -81,7 +81,8 @@ public class BoostControlledEffect extends ContinuousEffectImpl { * @param power * @param toughness * @param duration - * @param filter + * @param filter AnotherPredicate is not working, you need to use the + * excludeSource option * @param lockedIn if true, power and toughness will be calculated only * once, when the ability resolves * @param excludeSource