mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
fixed Rush of Knowledge counting all permanents (fixes #5069)
This commit is contained in:
parent
fc9804893b
commit
8b37c778f0
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue