From 816c4bf6526aba41942681f8133e297eedf5e376 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 9 Oct 2015 11:08:02 +0200 Subject: [PATCH] * Mayael's Aria - Fixed that triggered ability did not work. --- Mage.Sets/src/mage/sets/alarareborn/MayaelsAria.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/sets/alarareborn/MayaelsAria.java b/Mage.Sets/src/mage/sets/alarareborn/MayaelsAria.java index 3d80d2b1c0..a23c65749a 100644 --- a/Mage.Sets/src/mage/sets/alarareborn/MayaelsAria.java +++ b/Mage.Sets/src/mage/sets/alarareborn/MayaelsAria.java @@ -96,7 +96,7 @@ class MayaelsAriaEffect extends OneShotEffect { // put a +1/+1 counter on each creature you control if you control a creature with power 5 or greater. FilterCreaturePermanent filter = new FilterCreaturePermanent(); filter.add(new PowerPredicate(Filter.ComparisonType.GreaterThan, 4)); - if (game.getState().getBattlefield().countAll(filter, id, game) > 0) { + if (game.getState().getBattlefield().countAll(filter, controller.getId(), game) > 0) { for (Permanent creature : game.getBattlefield().getAllActivePermanents(filter, source.getControllerId(), game)) { creature.addCounters(CounterType.P1P1.createInstance(), game); } @@ -106,14 +106,14 @@ class MayaelsAriaEffect extends OneShotEffect { // Then you gain 10 life if you control a creature with power 10 or greater. filter = new FilterCreaturePermanent(); filter.add(new PowerPredicate(Filter.ComparisonType.GreaterThan, 9)); - if (game.getState().getBattlefield().countAll(filter, id, game) > 0) { + if (game.getState().getBattlefield().countAll(filter, controller.getId(), game) > 0) { controller.gainLife(10, game); } // Then you win the game if you control a creature with power 20 or greater. filter = new FilterCreaturePermanent(); filter.add(new PowerPredicate(Filter.ComparisonType.GreaterThan, 19)); - if (game.getState().getBattlefield().countAll(filter, id, game) > 0) { + if (game.getState().getBattlefield().countAll(filter, controller.getId(), game) > 0) { controller.won(game); } return true;