fixed Rush of Knowledge counting all permanents (fixes #5069)

This commit is contained in:
Evan Kranzler 2018-06-25 08:26:28 -04:00
parent fc9804893b
commit 8b37c778f0

View file

@ -32,7 +32,7 @@ public class HighestConvertedManaCostValue implements DynamicValue {
return 0;
}
int highCMC = 0;
for (Permanent permanent : game.getBattlefield().getActivePermanents(filter, controller.getId(), game)) {
for (Permanent permanent : game.getBattlefield().getAllActivePermanents(filter, controller.getId(), game)) {
int cmc = permanent.getConvertedManaCost();
highCMC = Math.max(highCMC, cmc);
}