mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 03:51:58 -08:00
* 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:
parent
8abac8803e
commit
e43333aece
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ class MayaelsAriaEffect extends OneShotEffect {
|
||||||
FilterCreaturePermanent filter = new FilterCreaturePermanent();
|
FilterCreaturePermanent filter = new FilterCreaturePermanent();
|
||||||
filter.add(new PowerPredicate(Filter.ComparisonType.GreaterThan, 4));
|
filter.add(new PowerPredicate(Filter.ComparisonType.GreaterThan, 4));
|
||||||
if (game.getState().getBattlefield().countAll(filter, controller.getId(), game) > 0) {
|
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);
|
creature.addCounters(CounterType.P1P1.createInstance(), game);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue