From 96108c9a4e901975d515f168f564cfa4ccd9d37d Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 8 Sep 2013 14:50:07 +0200 Subject: [PATCH] * Mayael's Aria - Fixed that all creatures instead of correctly controlled creatures were taken into account and boosted. --- Mage.Sets/src/mage/sets/alarareborn/MayaelsAria.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Mage.Sets/src/mage/sets/alarareborn/MayaelsAria.java b/Mage.Sets/src/mage/sets/alarareborn/MayaelsAria.java index 5b0fec9c93..dcb648aa4c 100644 --- a/Mage.Sets/src/mage/sets/alarareborn/MayaelsAria.java +++ b/Mage.Sets/src/mage/sets/alarareborn/MayaelsAria.java @@ -38,7 +38,7 @@ import mage.constants.Rarity; import mage.constants.TargetController; import mage.constants.Zone; import mage.counters.CounterType; -import mage.filter.common.FilterControlledCreaturePermanent; +import mage.filter.common.FilterCreaturePermanent; import mage.game.Game; import mage.game.permanent.Permanent; import mage.players.Player; @@ -96,8 +96,8 @@ class MayaelsAriaEffect extends OneShotEffect { if (you == null) { return false; } - FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent(); - for (Permanent creature : game.getBattlefield().getAllActivePermanents(filter, game)) { + FilterCreaturePermanent filter = new FilterCreaturePermanent(); + for (Permanent creature : game.getBattlefield().getAllActivePermanents(filter, source.getControllerId(), game)) { if (creature.getPower().getValue() > 4) { condition1 = true; } @@ -109,7 +109,7 @@ class MayaelsAriaEffect extends OneShotEffect { } } if (condition1) { - for (Permanent creature : game.getBattlefield().getAllActivePermanents(filter, game)) { + for (Permanent creature : game.getBattlefield().getAllActivePermanents(filter, source.getControllerId(), game)) { creature.addCounters(CounterType.P1P1.createInstance(), game); } } @@ -118,4 +118,4 @@ class MayaelsAriaEffect extends OneShotEffect { } return true; } -} \ No newline at end of file +}