* Mayael's Aria - Fixed that the +1/+1 counter was added to every controlled permanent instead of only creature permanents.

This commit is contained in:
LevelX2 2016-09-04 11:01:42 +02:00
parent 8abac8803e
commit e43333aece

View file

@ -97,7 +97,7 @@ class MayaelsAriaEffect extends OneShotEffect {
FilterCreaturePermanent filter = new FilterCreaturePermanent();
filter.add(new PowerPredicate(Filter.ComparisonType.GreaterThan, 4));
if (game.getState().getBattlefield().countAll(filter, controller.getId(), game) > 0) {
for (Permanent creature : game.getBattlefield().getAllActivePermanents(source.getControllerId())) {
for (Permanent creature : game.getBattlefield().getAllActivePermanents(new FilterCreaturePermanent(), source.getControllerId(), game)) {
creature.addCounters(CounterType.P1P1.createInstance(), game);
}
}