mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[SNC] fixed Bouncer's Betrayal getting sum of power rather than maximum (fixes #8965)
This commit is contained in:
parent
c74483488b
commit
0332673883
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@ public enum GreatestPowerAmongControlledCreaturesValue implements DynamicValue {
|
|||
).stream()
|
||||
.map(MageObject::getPower)
|
||||
.mapToInt(MageInt::getValue)
|
||||
.sum();
|
||||
.max()
|
||||
.orElse(0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue