From 8d12b34c6d4a8162e87c281864c028f70fec05c8 Mon Sep 17 00:00:00 2001 From: magenoxx Date: Thu, 24 Nov 2011 11:12:07 +0400 Subject: [PATCH] Fixed also Training Grounds and Copperhorn Scout. --- .../src/mage/sets/riseoftheeldrazi/TrainingGrounds.java | 2 +- .../src/mage/sets/scarsofmirrodin/CopperhornScout.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/sets/riseoftheeldrazi/TrainingGrounds.java b/Mage.Sets/src/mage/sets/riseoftheeldrazi/TrainingGrounds.java index cd2d65b70b..8f71e1445b 100644 --- a/Mage.Sets/src/mage/sets/riseoftheeldrazi/TrainingGrounds.java +++ b/Mage.Sets/src/mage/sets/riseoftheeldrazi/TrainingGrounds.java @@ -93,7 +93,7 @@ class TrainingGroundsCostReductionEffect extends ContinuousEffectImpl permanents = game.getBattlefield().getAllActivePermanents(filter); + List permanents = game.getBattlefield().getActivePermanents(filter, source.getControllerId(), source.getSourceId(), game); if ( permanents != null && !permanents.isEmpty() ) { for ( Permanent permanent : permanents ) { diff --git a/Mage.Sets/src/mage/sets/scarsofmirrodin/CopperhornScout.java b/Mage.Sets/src/mage/sets/scarsofmirrodin/CopperhornScout.java index ab6259a0ef..6a4d33adb1 100644 --- a/Mage.Sets/src/mage/sets/scarsofmirrodin/CopperhornScout.java +++ b/Mage.Sets/src/mage/sets/scarsofmirrodin/CopperhornScout.java @@ -38,6 +38,7 @@ import mage.abilities.Ability; import mage.abilities.TriggeredAbilityImpl; import mage.abilities.effects.OneShotEffect; import mage.cards.CardImpl; +import mage.filter.common.FilterControlledCreaturePermanent; import mage.filter.common.FilterCreaturePermanent; import mage.game.Game; import mage.game.events.GameEvent; @@ -114,10 +115,9 @@ class CopperhornScoutUntapEffect extends OneShotEffect creatures = game.getBattlefield().getAllActivePermanents(filter); + List creatures = game.getBattlefield().getActivePermanents(filter, source.getControllerId(), source.getSourceId(), game); for ( Permanent creature : creatures ) { if ( !creature.getId().equals(source.getSourceId()) ) {